Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Iterator class for traversing the arcs in the graph. More...
#include <ebert_graph.h>
Public Member Functions | |
ArcIterator (const DerivedGraph &graph) | |
bool | Ok () const |
Returns true unless all the arcs have been traversed. | |
void | Next () |
Advances the current arc index. | |
ArcIndexType | Index () const |
Returns the index of the arc currently pointed to by the iterator. | |
Iterator class for traversing the arcs in the graph.
Definition at line 342 of file ebert_graph.h.
|
inlineexplicit |
Definition at line 344 of file ebert_graph.h.
|
inline |
Returns the index of the arc currently pointed to by the iterator.
Definition at line 354 of file ebert_graph.h.
|
inline |
Advances the current arc index.
Definition at line 351 of file ebert_graph.h.
|
inline |
Returns true unless all the arcs have been traversed.
Definition at line 348 of file ebert_graph.h.