C++ Reference

C++ Reference: Graph

ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator

Detailed Description

template<typename NodeIndexType = int32, typename ArcIndexType = int32>
class util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator

Definition at line 2067 of file graph.h.

Public Member Functions

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

Protected Attributes

const ReverseArcMixedGraphgraph_
 
ArcIndexType index_
 

Constructor & Destructor Documentation

◆ OppositeIncomingArcIterator() [1/2]

OppositeIncomingArcIterator ( const ReverseArcMixedGraph graph,
NodeIndexType  node 
)
inline

Definition at line 2070 of file graph.h.

◆ OppositeIncomingArcIterator() [2/2]

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

Definition at line 2077 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

DEFINE_STL_ITERATOR_FUNCTIONS ( OppositeIncomingArcIterator  )

◆ Index()

ArcIndexType Index ( ) const
inline

Definition at line 2086 of file graph.h.

◆ Next()

void Next ( )
inline

Definition at line 2087 of file graph.h.

◆ Ok()

bool Ok ( ) const
inline

Definition at line 2085 of file graph.h.

Member Data Documentation

◆ graph_

const ReverseArcMixedGraph* graph_
protected

Definition at line 2095 of file graph.h.

◆ index_

ArcIndexType index_
protected

Definition at line 2096 of file graph.h.


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