Structure of a Node.
More...
#include <graph.h>
Structure of a Node.
Definition at line 30 of file graph.h.
◆ neighbours
unsigned short Node::neighbours[MAX_VERTEX_NUM - 1] |
Array of IDs of the Node's neighbors.
Definition at line 35 of file graph.h.
◆ num_neighbours
unsigned short Node::num_neighbours |
Number of neighbours of the Node.
Definition at line 34 of file graph.h.
◆ positionInGraph
unsigned short Node::positionInGraph |
Position of the Node in the list of Nodes of the Graph, i.e. its unique ID.
Definition at line 33 of file graph.h.