|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Filtered copy of graphs. More...
#include <tpl_graph.H>
Public Member Functions | |
| Copy_Graph (SA __sa=SA(), SN __sn=SN()) | |
| Constructor. | |
| void | operator() (GT >gt, GT &gsrc, const bool cookie_map=true) |
Perform the copy from gsrc to gtgt. | |
Private Member Functions | |
| void | copy (GT >gt, const GT &gsrc, const bool cookie_map) |
Private Attributes | |
| SN | sn |
| SA | sa |
Filtered copy of graphs.
This functor copies a graph according to filtering criterias for its nodes and arcs
The template parameters are:
GT: the graph typeSN: node filterSA: arc filter Definition at line 3715 of file tpl_graph.H.
|
inline |
Constructor.
| [in] | __sa | arc filter |
| [in] | __sn | node filter |
Definition at line 3726 of file tpl_graph.H.
|
inlineprivate |
Definition at line 3732 of file tpl_graph.H.
References Aleph::clear_graph(), Aleph::DynMapTree< Key, Data, Tree, Compare >::insert(), GraphCommon< GT, Node, Arc >::map_arcs(), GraphCommon< GT, Node, Arc >::map_nodes(), Aleph::maps(), Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), Aleph::Copy_Graph< GT, SN, SA >::sa, and Aleph::Copy_Graph< GT, SN, SA >::sn.
Referenced by Aleph::Copy_Graph< GT, SN, SA >::operator()().
|
inline |
Perform the copy from gsrc to gtgt.
| [out] | gtgt | target graph |
| [in] | gsrc | source graph |
| [in] | cookie_map | if true ==> the nodes and arcs of both graphs are mapped through their cookies |
Definition at line 3785 of file tpl_graph.H.
References Aleph::Copy_Graph< GT, SN, SA >::copy(), and Aleph::maps().
|
private |
Definition at line 3718 of file tpl_graph.H.
Referenced by Aleph::Copy_Graph< GT, SN, SA >::copy().
|
private |
Definition at line 3717 of file tpl_graph.H.
Referenced by Aleph::Copy_Graph< GT, SN, SA >::copy().