Template Class AdjListGraph::NeighborWeightRange

Nested Relationships

This class is a nested type of Template Class AdjListGraph.

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<NodeT, edgeweight>.

Public Functions

inline NeighborWeightRange(const AdjListGraph &G, NodeT u)
inline NeighborWeightRange()
inline NeighborWeightIterator begin() const
inline NeighborWeightIterator end() const