Template Class Graph::NeighborWeightRange

Nested Relationships

This class is a nested type of Class Graph.

Class Documentation

template<bool InEdges = false>
class NeighborWeightRange

Wrapper class to iterate over a range of the neighbors of a node including the edge weights within a for loop. Values are std::pair<node, edgeweight>.

Public Functions

inline NeighborWeightRange(const Graph &G, node u)
inline NeighborWeightRange()
inline NeighborWeightIterator begin() const
inline NeighborWeightIterator end() const