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

#include <graph.h>

Inheritance diagram for util::ReverseArcListGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator:
util::ReverseArcListGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator

Public Member Functions

 IncomingArcIterator (const ReverseArcListGraph &graph, NodeIndexType node)
 
 IncomingArcIterator (const ReverseArcListGraph &graph, NodeIndexType node, ArcIndexType arc)
 
ArcIndexType Index () const
 We overwrite OppositeIncomingArcIterator::Index() here.
 
 DEFINE_STL_ITERATOR_FUNCTIONS (IncomingArcIterator)
 
- Public Member Functions inherited from util::ReverseArcListGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator
 OppositeIncomingArcIterator (const ReverseArcListGraph &graph, NodeIndexType node)
 
 OppositeIncomingArcIterator (const ReverseArcListGraph &graph, NodeIndexType node, ArcIndexType arc)
 
bool Ok () const
 
ArcIndexType Index () const
 
void Next ()
 
 DEFINE_STL_ITERATOR_FUNCTIONS (OppositeIncomingArcIterator)
 

Additional Inherited Members

- Protected Attributes inherited from util::ReverseArcListGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator
const ReverseArcListGraphgraph_
 
ArcIndexType index_
 

Detailed Description

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

Definition at line 1634 of file graph.h.

Constructor & Destructor Documentation

◆ IncomingArcIterator() [1/2]

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

Definition at line 1637 of file graph.h.

◆ IncomingArcIterator() [2/2]

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

Definition at line 1639 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ReverseArcListGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator::DEFINE_STL_ITERATOR_FUNCTIONS ( IncomingArcIterator )

◆ Index()

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

We overwrite OppositeIncomingArcIterator::Index() here.

Definition at line 1646 of file graph.h.


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