struct edge edge
typedef of the edge struct.
void edge_free(edge *e)
Free the memory taken by the edge.
Definition: edge.c:10
edge * edge_new(int v1, int v2, int weight)
Allocate a new edge with the corresponding entries for edge.
Definition: edge.c:4
Edge struct to be used as edges in the graph structs.
Definition: edge.h:10
int v1
The integer of vertex in graph of one end of edge.
Definition: edge.h:11
int v2
The integer of vertex in graph of the other end of edge.
Definition: edge.h:12
double weight
The weight for this particular edge.
Definition: edge.h:13