diff options
Diffstat (limited to '')
| -rw-r--r-- | src/graph.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graph.h b/src/graph.h index ca90bbe..22b4ae5 100644 --- a/src/graph.h +++ b/src/graph.h @@ -7,13 +7,13 @@ typedef struct Vertex Vertex; typedef struct Graph Graph; struct Vertex { int id; // a number in [0; numVertices[ - LinkedList *outNeighbours; // A linked list of vertices. - LinkedList *inNeighbours; // A linked list of vertices + LinkedList *out_neighbours; // A linked list of vertices. + LinkedList *in_neighbours; // A linked list of vertices }; struct Graph { - int numVertices; - int numEdges; + int num_vertices; + int num_edges; Vertex *vertices; // An array of numVertices vertices }; |