Template Class NodeIteratorBase

Class Documentation

template<typename GraphType>
class NodeIteratorBase

Class to iterate over the nodes of a graph.

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 = NodeIteratorBase

Public Functions

inline NodeIteratorBase(const GraphType *G, node u)
inline NodeIteratorBase()

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

~NodeIteratorBase() = default
inline NodeIteratorBase &operator++()
inline NodeIteratorBase operator++(int)
inline NodeIteratorBase operator--()
inline NodeIteratorBase operator--(int)
inline bool operator==(const NodeIteratorBase &rhs) const noexcept
inline bool operator!=(const NodeIteratorBase &rhs) const noexcept
inline node operator*() const noexcept