OR-Tools  9.6
ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator

Detailed Description

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

Definition at line 2144 of file graph.h.

Public Member Functions

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

Protected Attributes

const ReverseArcMixedGraphgraph_
 
ArcIndexType index_
 

Constructor & Destructor Documentation

◆ IncomingArcIterator() [1/2]

IncomingArcIterator ( const ReverseArcMixedGraph graph,
NodeIndexType  node 
)
inline

Definition at line 2147 of file graph.h.

◆ IncomingArcIterator() [2/2]

IncomingArcIterator ( const ReverseArcMixedGraph graph,
NodeIndexType  node,
ArcIndexType  arc 
)
inline

Definition at line 2149 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS() [1/2]

DEFINE_STL_ITERATOR_FUNCTIONS ( IncomingArcIterator  )

◆ DEFINE_STL_ITERATOR_FUNCTIONS() [2/2]

DEFINE_STL_ITERATOR_FUNCTIONS ( OppositeIncomingArcIterator  )
inherited

◆ Index()

ArcIndexType Index ( ) const
inline

Definition at line 2153 of file graph.h.

◆ Next()

void Next ( )
inlineinherited

Definition at line 2131 of file graph.h.

◆ Ok()

bool Ok ( ) const
inlineinherited

Definition at line 2129 of file graph.h.

Member Data Documentation

◆ graph_

const ReverseArcMixedGraph* graph_
protectedinherited

Definition at line 2139 of file graph.h.

◆ index_

ArcIndexType index_
protectedinherited

Definition at line 2140 of file graph.h.


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