|
Camargue
|
Object used to represent adjacency in a Graph::AdjList. More...
#include <graph.hpp>
Public Member Functions | |
| AdjObj (int otherend, int index, double _val) | |
| bool | operator== (const AdjObj &rhs) const |
Public Attributes | |
| int | other_end |
The node y in the notation above. | |
| int | edge_index |
The index wrt a fixed Graph::Edge vector of (x, y). | |
| double | val |
| Can represent length or some other value on the edge. | |
Object used to represent adjacency in a Graph::AdjList.
For a fixed node x, an AdjObj is used to represent adjacency between x and another node y in the graph.
1.8.11