diff options
Diffstat (limited to '')
| -rw-r--r-- | src/Graph.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Graph.h b/src/Graph.h index a0087ce..3e7cfaa 100644 --- a/src/Graph.h +++ b/src/Graph.h @@ -6,15 +6,15 @@ 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 + int id; // a number in [0; numVertices[ + LinkedList *outNeighbours; // A linked list of vertices. + LinkedList *inNeighbours; // A linked list of vertices }; struct Graph { - int numVertices; - int numEdges; - Vertex *vertices; // An array of numVertices vertices + int numVertices; + int numEdges; + Vertex *vertices; // An array of numVertices vertices }; // Allocates and constructs a new graph with n vertices. |