|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Common node iterator for graph having its node derived from Dlink class. More...
#include <graph-dry.H>
Public Types | |
| using | Node = typename GT::Node |
| using | Item_Type = Node * |
| The type of item that returns the iterator. | |
| using | Set_Type = GT |
| The type of container on which iterate. | |
Public Member Functions | |
| GTNodeIterator () noexcept | |
| GTNodeIterator (Dlink &head) noexcept | |
| Build a iterator for all the nodes of g. | |
| Node * | get_curr_ne () const noexcept |
| Return the current node without exception. | |
| Node * | get_curr () const |
| Return the current node. | |
| Node * | get_current_node () const |
| Return the current node. | |
| Node * | get_current_node_ne () const |
Common node iterator for graph having its node derived from Dlink class.
This class serves as implementation support for iterador on nodes that are derived for Dlink class. This is currently the case for List_Graph and Array_Graph.
Definition at line 496 of file graph-dry.H.
| using GTNodeIterator< GT >::Item_Type = Node * |
The type of item that returns the iterator.
Definition at line 501 of file graph-dry.H.
| using GTNodeIterator< GT >::Node = typename GT::Node |
Definition at line 498 of file graph-dry.H.
| using GTNodeIterator< GT >::Set_Type = GT |
The type of container on which iterate.
Definition at line 504 of file graph-dry.H.
|
inlinenoexcept |
Definition at line 506 of file graph-dry.H.
|
inlinenoexcept |
Build a iterator for all the nodes of g.
Definition at line 511 of file graph-dry.H.
|
inline |
Return the current node.
Definition at line 522 of file graph-dry.H.
Referenced by Aleph::Net_Cap_Graph< NodeT, ArcT >::Net_Cap_Graph(), Aleph::Net_Graph< NodeT, ArcT >::Net_Graph(), Aleph::Net_Sup_Dem_Graph< NodeT, ArcT >::Net_Sup_Dem_Graph(), GTNodeIterator< GT >::get_current_node(), and TYPED_TEST().
|
inlinenoexcept |
Return the current node without exception.
Definition at line 516 of file graph-dry.H.
Referenced by GTNodeIterator< GT >::get_current_node_ne().
|
inline |
Return the current node.
Definition at line 525 of file graph-dry.H.
References GTNodeIterator< GT >::get_curr().
|
inline |
Definition at line 527 of file graph-dry.H.
References GTNodeIterator< GT >::get_curr_ne().