OR-Tools  8.2
ListGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator

Detailed Description

template<typename NodeIndexType = int32, typename ArcIndexType = int32>
class util::ListGraph< NodeIndexType, ArcIndexType >::OutgoingArcIterator

Definition at line 1178 of file 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)
 

Constructor & Destructor Documentation

◆ OutgoingArcIterator() [1/2]

OutgoingArcIterator ( const ListGraph graph,
NodeIndexType  node 
)
inline

Definition at line 1180 of file graph.h.

◆ OutgoingArcIterator() [2/2]

OutgoingArcIterator ( const ListGraph graph,
NodeIndexType  node,
ArcIndexType  arc 
)
inline

Definition at line 1184 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

DEFINE_STL_ITERATOR_FUNCTIONS ( OutgoingArcIterator  )

◆ Index()

ArcIndexType Index ( ) const
inline

Definition at line 1191 of file graph.h.

◆ Next()

void Next ( )
inline

Definition at line 1192 of file graph.h.

◆ Ok()

bool Ok ( ) const
inline

Definition at line 1190 of file graph.h.


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