Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator Class Reference

#include <graph.h>

Public Member Functions

 OutgoingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node)
 
 OutgoingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node, ArcIndexType arc)
 
bool Ok () const
 
ArcIndexType Index () const
 
void Next ()
 
 DEFINE_STL_ITERATOR_FUNCTIONS (OutgoingArcIterator)
 

Detailed Description

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
class util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator

Definition at line 2093 of file graph.h.

Constructor & Destructor Documentation

◆ OutgoingArcIterator() [1/2]

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::OutgoingArcIterator ( const ReverseArcMixedGraph & graph,
NodeIndexType node )
inline

Definition at line 2095 of file graph.h.

◆ OutgoingArcIterator() [2/2]

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::OutgoingArcIterator ( const ReverseArcMixedGraph & graph,
NodeIndexType node,
ArcIndexType arc )
inline

Definition at line 2097 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::DEFINE_STL_ITERATOR_FUNCTIONS ( OutgoingArcIterator )
Todo
(user): we lose a bit by returning a BeginEndWrapper<> on top of this iterator rather than a simple IntegerRange on the arc indices.

◆ Index()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
ArcIndexType util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::Index ( ) const
inline

Definition at line 2104 of file graph.h.

◆ Next()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
void util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::Next ( )
inline

Definition at line 2105 of file graph.h.

◆ Ok()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
bool util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::Ok ( ) const
inline

Definition at line 2103 of file graph.h.


The documentation for this class was generated from the following file: