Aleph-w  1.9
General library for algorithms and data structures
Aleph::Copy_Graph< GT, SN, SA > Class Template Reference

#include <tpl_graph.H>

Public Member Functions

 Copy_Graph (SA __sa=SA(), SN __sn=SN())
 
void operator() (GT &gtgt, GT &gsrc, const bool cookie_map=true)
 

Detailed Description

template<class GT, class SN = Dft_Show_Node<GT>, class SA = Dft_Show_Arc<GT>>
class Aleph::Copy_Graph< GT, SN, 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 type
  • SN: node filter
  • SA: arc filter

Constructor & Destructor Documentation

◆ Copy_Graph()

template<class GT , class SN = Dft_Show_Node<GT>, class SA = Dft_Show_Arc<GT>>
Aleph::Copy_Graph< GT, SN, SA >::Copy_Graph ( SA  __sa = SA(),
SN  __sn = SN() 
)
inline

Constructor

Parameters
[in]__sanode filter
[in]__snarc filter
+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<class GT , class SN = Dft_Show_Node<GT>, class SA = Dft_Show_Arc<GT>>
void Aleph::Copy_Graph< GT, SN, SA >::operator() ( GT &  gtgt,
GT &  gsrc,
const bool  cookie_map = true 
)
inline

Perform the copy from gsrc to gtgt.

Parameters
[out]gtgttarget graph
[in]gsrcsource graph
[in]cookie_mapif true ==> the nodes and arcs of both graphs are mapped through their cookies

The documentation for this class was generated from the following file:

Leandro Rabindranath León