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

#include <graph.h>

Public Member Functions

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

Detailed Description

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

Definition at line 1695 of file graph.h.

Constructor & Destructor Documentation

◆ OutgoingHeadIterator() [1/2]

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

Definition at line 1697 of file graph.h.

◆ OutgoingHeadIterator() [2/2]

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

Definition at line 1701 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

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

◆ Index()

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

Definition at line 1709 of file graph.h.

◆ Next()

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

Definition at line 1710 of file graph.h.

◆ Ok()

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

Definition at line 1708 of file graph.h.


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