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

#include <graph.h>

Public Member Functions

 OutgoingArcIterator (const ListGraph &graph, NodeIndexType node)
 
 OutgoingArcIterator (const ListGraph &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::ListGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator

Definition at line 1214 of file graph.h.

Constructor & Destructor Documentation

◆ OutgoingArcIterator() [1/2]

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

Definition at line 1216 of file graph.h.

◆ OutgoingArcIterator() [2/2]

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

Definition at line 1220 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ListGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator::DEFINE_STL_ITERATOR_FUNCTIONS ( OutgoingArcIterator )

◆ Index()

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

Definition at line 1227 of file graph.h.

◆ Next()

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

Definition at line 1228 of file graph.h.

◆ Ok()

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

Definition at line 1226 of file graph.h.


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