Template Class EdgeWeightTIterator

Inheritance Relationships

Base Type

Class Documentation

template<class GraphType, GraphNode NodeT, GraphEdgeWeight EdgeWeightT, class IterEdgeWeightT>
class EdgeWeightTIterator : public NetworKit::EdgeIteratorBase<GraphType, NodeT, EdgeWeightT>

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 = IterEdgeWeightT
using reference = value_type&
using pointer = value_type*
using iterator_category = std::forward_iterator_tag
using difference_type = ptrdiff_t
using self = EdgeWeightTIterator

Public Functions

inline EdgeWeightTIterator(const GraphType *G, NodeIteratorBase<GraphType, NodeT, EdgeWeightT> nodeIter)
inline EdgeWeightTIterator()
inline bool operator==(const EdgeWeightTIterator &rhs) const noexcept
inline bool operator!=(const EdgeWeightTIterator &rhs) const noexcept
inline IterEdgeWeightT operator*() const noexcept
inline EdgeWeightTIterator &operator++()
inline EdgeWeightTIterator operator++(int)
inline EdgeWeightTIterator operator--()
inline EdgeWeightTIterator operator--(int)