DeSiGNAR
0.5a
Data Structures General Library
|
#include <graphutilities.H>
Public Types | |
using | NodeType = Node< GT > |
using | ArcType = Arc< GT > |
Public Member Functions | |
Path () | |
Path (const GT &graph) | |
Path (GT *graph_ptr) | |
Path (const Path &path) | |
Path (Path &&path) | |
GT & | get_graph () |
void | init (NodeType *start) |
void | set (GT &graph, NodeType *ptr_start=nullptr) |
void | clear () |
void | insert (ArcType *arc) |
void | insert (NodeType *s) |
void | append (ArcType *arc) |
void | append (NodeType *t) |
void | remove_last_node () |
NodeType * | get_last_node () |
NodeType * | get_last_node () const |
NodeType * | get_first_node () |
NodeType * | get_first_node () const |
ArcType * | get_last_arc () |
ArcType * | get_last_arc () const |
ArcType * | get_first_arc () |
ArcType * | get_first_arc () const |
template<class Op > | |
void | for_each (Op &op) const |
template<class Op > | |
void | for_each (Op &&op=Op()) const |
template<class Op > | |
void | for_each (Op &op) |
template<class Op > | |
void | for_each (Op &&op=Op()) |
Path & | operator= (const Path &path) |
SLList< Node< GT > * > | nodes () const |
SLList< Arc< GT > * > | arcs () const |
Path & | operator= (Path &&path) |
bool | is_empty () const |
nat_t | size () const |
using Designar::Path< GT >::ArcType = Arc<GT> |
using Designar::Path< GT >::NodeType = Node<GT> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |