
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) |
| 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 | |||
| ) |
Definition at line 20 of file edgelist.c.
References VerticesListType::adjArray, Vertex::degree, EdgeListType::edges, n, Vertex::next, EdgeListType::next, and VerticesListType::vertexArray.
Referenced by AddEdges().
| 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 | |||
| ) |
Definition at line 48 of file edgelist.c.
References VerticesListType::adjArray, Vertex::adjListInd, Vertex::degree, and VerticesListType::vertexArray.
Referenced by AddEdges().
| void addspEdge | ( | VerticesListType * | graph, | |
| EdgeListType * | EdgeList, | |||
| int | v, | |||
| int | w | |||
| ) |
Definition at line 65 of file edgelist.c.
References VerticesListType::adjArray, Vertex::adjListInd, Vertex::degree, EdgeListType::edges, n, Vertex::next, EdgeListType::next, and VerticesListType::vertexArray.
Referenced by AddEdges().
1.5.5