Template Class EdgeTypeIterator

Inheritance Relationships

Base Type

Class Documentation

template<typename GraphType, typename EdgeType>
class EdgeTypeIterator : public NetworKit::EdgeIteratorBase<GraphType>

Class to iterate over the edges of the given graph type. If the graph is undirected, operator*() returns the edges (u, v) s.t. u <= v.

Public Types

using value_type = EdgeType
using reference = value_type&
using pointer = value_type*
using iterator_category = std::forward_iterator_tag
using difference_type = ptrdiff_t
using self = EdgeTypeIterator

Public Functions

inline EdgeTypeIterator(const GraphType *G, NodeIteratorBase<GraphType> nodeIter)
inline EdgeTypeIterator()
inline bool operator==(const EdgeTypeIterator &rhs) const noexcept
inline bool operator!=(const EdgeTypeIterator &rhs) const noexcept
EdgeType operator*() const noexcept
inline EdgeTypeIterator &operator++()
inline EdgeTypeIterator operator++(int)
inline EdgeTypeIterator operator--()
inline EdgeTypeIterator operator--(int)