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

Depth-first traversal that builds the tree of build_df_low_tree(). More...

#include <generate_df_tree.H>

Collaboration diagram for Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >:
[legend]

Classes

struct  Frame
 

Public Member Functions

 Df_Low_Builder (Node_Label &label, SA &filter, DynList< Df_Low_Non_Tree_Arc > &arcs)
 Prepare a traversal that labels the nodes with label, sees only the arcs that filter accepts and appends to arcs.
 
Df_Low_Tree_Node * build (Node *src)
 Build the tree from src; on an exception, free what it built.
 

Private Types

using Node = typename GT::Node
 
using Arc = typename GT::Arc
 

Private Member Functions

Df_Low_Tree_Node * new_tree_node (Node *p)
 
void visit (Node *src, Df_Low_Tree_Node *root)
 

Private Attributes

Node_Label & node_label
 
SA & sa
 
DynList< Df_Low_Non_Tree_Arc > & non_tree_arcs
 
DynMapTree< Node *, Df_Low_Tree_Node * > tree_nodes
 
long curr_df = 0
 

Detailed Description

template<AlephGraph GT, class Node_Label, ArcFilter< GT > SA>
class Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >

Depth-first traversal that builds the tree of build_df_low_tree().

Definition at line 188 of file generate_df_tree.H.

Member Typedef Documentation

◆ Arc

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
using Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::Arc = typename GT::Arc
private

Definition at line 191 of file generate_df_tree.H.

◆ Node

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
using Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::Node = typename GT::Node
private

Definition at line 190 of file generate_df_tree.H.

Constructor & Destructor Documentation

◆ Df_Low_Builder()

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::Df_Low_Builder ( Node_Label &  label,
SA &  filter,
DynList< Df_Low_Non_Tree_Arc > &  arcs 
)
inline

Prepare a traversal that labels the nodes with label, sees only the arcs that filter accepts and appends to arcs.

Definition at line 295 of file generate_df_tree.H.

Member Function Documentation

◆ build()

◆ new_tree_node()

◆ visit()

Member Data Documentation

◆ curr_df

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
long Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::curr_df = 0
private

◆ node_label

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
Node_Label& Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::node_label
private

◆ non_tree_arcs

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
DynList<Df_Low_Non_Tree_Arc>& Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::non_tree_arcs
private

◆ sa

template<AlephGraph GT, class Node_Label , ArcFilter< GT > SA>
SA& Aleph::df_tree_detail::Df_Low_Builder< GT, Node_Label, SA >::sa
private

◆ tree_nodes


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