C++ Reference

C++ Reference: Graph

ReverseArcStaticGraph< NodeIndexType, ArcIndexType >::OppositeIncomingArcIterator

Detailed Description

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

Definition at line 1871 of file graph.h.

Public Member Functions

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

Protected Attributes

const ReverseArcStaticGraphgraph_
 
const ArcIndexType limit_
 
ArcIndexType index_
 

Constructor & Destructor Documentation

◆ OppositeIncomingArcIterator() [1/2]

OppositeIncomingArcIterator ( const ReverseArcStaticGraph graph,
NodeIndexType  node 
)
inline

Definition at line 1874 of file graph.h.

◆ OppositeIncomingArcIterator() [2/2]

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

Definition at line 1882 of file graph.h.

Member Function Documentation

◆ DEFINE_STL_ITERATOR_FUNCTIONS()

DEFINE_STL_ITERATOR_FUNCTIONS ( OppositeIncomingArcIterator  )

◆ Index()

ArcIndexType Index ( ) const
inline

Definition at line 1891 of file graph.h.

◆ Next()

void Next ( )
inline

Definition at line 1892 of file graph.h.

◆ Ok()

bool Ok ( ) const
inline

Definition at line 1890 of file graph.h.

Member Data Documentation

◆ graph_

const ReverseArcStaticGraph& graph_
protected

Definition at line 1900 of file graph.h.

◆ index_

ArcIndexType index_
protected

Definition at line 1902 of file graph.h.

◆ limit_

const ArcIndexType limit_
protected

Definition at line 1901 of file graph.h.


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