Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Invert_Digraph< GT, SA > Class Template Reference

Functor for computing the transposed digraph, filtering arcs. More...

#include <tpl_graph_utils.H>

Public Member Functions

 Invert_Digraph (SA __sa)
 Construct a functor using the arc filter __sa.
 
GT operator() (const GT &g) const
 Compute the transposed graph.
 

Private Attributes

SA sa
 

Detailed Description

template<class GT, class SA = Dft_Show_Arc<GT>>
class Aleph::Invert_Digraph< GT, SA >

Functor for computing the transposed digraph, filtering arcs.

Produces the transpose of g, including only arcs that satisfy the filter SA.

Nodes are always preserved (including isolated nodes).

Definition at line 1882 of file tpl_graph_utils.H.

Constructor & Destructor Documentation

◆ Invert_Digraph()

template<class GT , class SA = Dft_Show_Arc<GT>>
Aleph::Invert_Digraph< GT, SA >::Invert_Digraph ( SA  __sa)
inline

Construct a functor using the arc filter __sa.

Definition at line 1889 of file tpl_graph_utils.H.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ sa

template<class GT , class SA = Dft_Show_Arc<GT>>
SA Aleph::Invert_Digraph< GT, SA >::sa
private

Definition at line 1884 of file tpl_graph_utils.H.

Referenced by Aleph::Invert_Digraph< GT, SA >::operator()().


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