Camargue
Public Member Functions | Public Attributes | List of all members
CMR::Graph::AdjObj Struct Reference

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: