Social Network 1.0.0
The second major course output (MCO2) for CCDSALG.
|
A collection implementing the adjacency list data graph structure using arrays. More...
#include <graph.h>
Public Attributes | |
size_t | vertex_count |
The number of vertices the graph contains. | |
Vertex | adjacencies_by_vertex [MAX_GRAPH_VERTEX_COUNT][MAX_GRAPH_VERTEX_COUNT] |
The vertices adjacent to the vertices contained by the graph. | |
size_t | adjacencies_length |
The number of vertex adjacency arrays the graph contains. |
A collection implementing the adjacency list data graph structure using arrays.
Vertex Graph::adjacencies_by_vertex[MAX_GRAPH_VERTEX_COUNT][MAX_GRAPH_VERTEX_COUNT] |
The vertices adjacent to the vertices contained by the graph.
This contains arrays of vertices, where the first vertex is the key, and the rest are the vertices adjacent to the key.