Structure of a Graph.
More...
#include <graph.h>
Structure of a Graph.
Definition at line 51 of file graph.h.
◆ cost
Sum of the weights of the Edges in the Graph.
Definition at line 53 of file graph.h.
◆ edges
Array of Edges.
Definition at line 58 of file graph.h.
◆ edges_matrix
Edge Graph::edges_matrix[MAX_VERTEX_NUM][MAX_VERTEX_NUM] |
◆ kind
◆ nodes
Node Graph::nodes[MAX_VERTEX_NUM] |
Array of Nodes.
Definition at line 57 of file graph.h.
◆ num_edges
unsigned short Graph::num_edges |
◆ num_nodes
unsigned short Graph::num_nodes |
◆ orderedEdges
True if the Edges are ordered by weight, false otherwise.
Definition at line 56 of file graph.h.