Class DHBGraph::NeighborIterator

Nested Relationships

This class is a nested type of Class DHBGraph.

Class Documentation

class NeighborIterator

Class to iterate over the in/out neighbors of a node.

Public Types

using value_type = node
using reference = value_type&
using pointer = value_type*
using iterator_category = std::forward_iterator_tag
using difference_type = ptrdiff_t
using self = NeighborIterator

Public Functions

inline NeighborIterator(IteratorType it)
inline NeighborIterator()

WARNING: This contructor is required for Python and should not be used as the iterator is not initialized.

inline NeighborIterator &operator++()
inline NeighborIterator operator++(int)
inline NeighborIterator operator--()
inline NeighborIterator operator--(int)
inline bool operator==(NeighborIterator const &rhs) const
inline bool operator!=(NeighborIterator const &rhs) const
inline node operator*() const