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

#include <graph.h>

Public Member Functions

 OutgoingOrOppositeIncomingArcIterator (const ReverseArcStaticGraph &graph, NodeIndexType node)
 
 OutgoingOrOppositeIncomingArcIterator (const ReverseArcStaticGraph &graph, NodeIndexType node, ArcIndexType arc)
 
ArcIndexType Index () const
 
bool Ok () const
 
void Next ()
 
 DEFINE_STL_ITERATOR_FUNCTIONS (OutgoingOrOppositeIncomingArcIterator)
 

Detailed Description

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
class util::ReverseArcStaticGraph< NodeIndexType, ArcIndexType >::OutgoingOrOppositeIncomingArcIterator

Definition at line 1937 of file graph.h.

Constructor & Destructor Documentation

◆ OutgoingOrOppositeIncomingArcIterator() [1/2]

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

Definition at line 1940 of file graph.h.

◆ OutgoingOrOppositeIncomingArcIterator() [2/2]

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

Definition at line 1950 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
util::ReverseArcStaticGraph< NodeIndexType, ArcIndexType >::OutgoingOrOppositeIncomingArcIterator::DEFINE_STL_ITERATOR_FUNCTIONS ( OutgoingOrOppositeIncomingArcIterator )

◆ Index()

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

Definition at line 1961 of file graph.h.

◆ Next()

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

Definition at line 1963 of file graph.h.

◆ Ok()

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

Definition at line 1962 of file graph.h.


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