#include <tpl_graph.H>
Public Types | |
| using | Item_Type = typename Itor::Item_Type |
| using | Iterator_Type = Itor |
| The type of element. | |
Public Member Functions | |
| Digraph_Iterator (typename GT::Node *p) noexcept(noexcept(Filter(p)) and noexcept(Itor(p, filt))) | |
| Iterator type. More... | |
| void | next () |
| void | next_ne () noexcept |
| void | prev () |
| bool | has_curr () const noexcept |
Return true the iterator has an current arc. | |
| GT::Arc * | get_curr () const |
| GT::Arc * | get_curr_ne () const noexcept |
| auto | get_current_arc () const |
| GT::Node * | get_node (typename GT::Arc *a) const noexcept |
| GT::Node * | get_node () const |
| Return the connected node to current arc. | |
| auto | get_tgt_node () const |
| GT::Node * | get_node_ne () const noexcept |
| Return the connected node to current arc. | |
| auto | get_tgt_node_ne () const noexcept |
| void | reset_first () noexcept |
| Reset the iterator to the first arc. | |
| void | reset_last () noexcept |
| Reset the iterator to the last arc. | |
| void | end () noexcept |
| Put the iterator in end state. | |
Filtered iterator on directed graphs.
|
inlinenoexcept |
Iterator type.
Initialize an iterator on adjacent arcs (incoming or outcoming) of p
|
inline |
Return the current arc. Throws overflow_error it there is no current
|
inlinenoexcept |
Return the current arc. Throws overflow_error it there is no current
Here is the caller graph for this function:
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inlinenoexcept |
Return the connected node to arc. The result depends of iterator type
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inlinenoexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
Move the iterator one position forward. Throws overflow_error it there is no current
Here is the call graph for this function:
|
inline |
Move the iterator one position backward. Throws overflow_error it there is no current
Here is the call graph for this function: