PPL Logo

conv-ldb/edgelist.c File Reference

Go to the source code of this file.

Functions

void * InitEdgeList (int E)
void addEdge (VerticesListType *graph, EdgeListType *EdgeList, int v, int w)
void printEdges (EdgeListType *EdgeList)
int edgeExists (VerticesListType *graph, int x, int y)
void addspEdge (VerticesListType *graph, EdgeListType *EdgeList, int v, int w)


Function Documentation

void* InitEdgeList ( int  E  ) 

Definition at line 8 of file edgelist.c.

References EdgeListType::edges, malloc(), and EdgeListType::next.

Referenced by gengraph().

void addEdge ( VerticesListType graph,
EdgeListType EdgeList,
int  v,
int  w 
)

void printEdges ( EdgeListType EdgeList  ) 

Definition at line 38 of file edgelist.c.

References EdgeListType::edges, EdgeListType::next, and printf().

int edgeExists ( VerticesListType graph,
int  x,
int  y 
)

void addspEdge ( VerticesListType graph,
EdgeListType EdgeList,
int  v,
int  w 
)


Generated on Fri May 25 08:00:45 2012 for Charm++ by  doxygen 1.5.5