OR-Tools  8.2
ReverseArcStaticGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator

Detailed Description

template<typename NodeIndexType = int32, typename ArcIndexType = int32>
class util::ReverseArcStaticGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator

Definition at line 1868 of file graph.h.

Public Member Functions

 IncomingArcIterator (const ReverseArcStaticGraph &graph, NodeIndexType node)
 
 IncomingArcIterator (const ReverseArcStaticGraph &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 ReverseArcStaticGraphgraph_
 
const ArcIndexType limit_
 
ArcIndexType index_
 

Constructor & Destructor Documentation

◆ IncomingArcIterator() [1/2]

IncomingArcIterator ( const ReverseArcStaticGraph graph,
NodeIndexType  node 
)
inline

Definition at line 1871 of file graph.h.

◆ IncomingArcIterator() [2/2]

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

Definition at line 1873 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 1880 of file graph.h.

◆ Next()

void Next ( )
inlineinherited

Definition at line 1854 of file graph.h.

◆ Ok()

bool Ok ( ) const
inlineinherited

Definition at line 1852 of file graph.h.

Member Data Documentation

◆ graph_

const ReverseArcStaticGraph& graph_
protectedinherited

Definition at line 1862 of file graph.h.

◆ index_

ArcIndexType index_
protectedinherited

Definition at line 1864 of file graph.h.

◆ limit_

const ArcIndexType limit_
protectedinherited

Definition at line 1863 of file graph.h.


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