PandA-2024.02
|
Header include. More...
Public Member Functions | |
djgraph_dfs_tree_visitor (CustomUnorderedMap< vertex, unsigned int > &_vertex_level, CustomUnorderedMap< vertex, unsigned int > &_dfs_order, unsigned int &_max_level, vertex2obj< vertex > &_parent_depth_search_spanning_tree, const ParameterConstRef parameters) | |
Constructor of the postorder tree visitor. More... | |
template<class Vertex , class Graph > | |
void | discover_vertex (Vertex v, Graph &g) |
template<class Edge , class Graph > | |
void | tree_edge (Edge e, const Graph &g) const |
Private Attributes | |
CustomUnorderedMap< vertex, unsigned int > & | vertex_level |
topological level of the vertices More... | |
CustomUnorderedMap< vertex, unsigned int > & | dfs_order |
dfs order of vertices More... | |
unsigned int | dfs_number |
last label used during the dfs graph visiting More... | |
unsigned int & | max_level |
maximum level of vertices More... | |
vertex2obj< vertex > & | parent_depth_search_spanning_tree |
spanning tree More... | |
const int | debug_level |
The debug level. More... | |
Header include.
Autoheader include Visitor used during the depth-first search on the DJ graph.
|
inline |
Constructor of the postorder tree visitor.
Used to label the node in postorder way.
vertex_level | will store levels of vertices |
dfs_order | will store vertices dfs order |
max_level | will store the max level of vertices |
parent_depth_search_spanning_tree | is the dfs spanning tree |
parameters | is the set of input parameters |
|
inline |
Set the dfs order
and the vertex level
The level of at least one predecessor must have been set already
Definition at line 130 of file loops.cpp.
References DEBUG_LEVEL_VERY_PEDANTIC, INDENT_DBG_MEX, STR, and THROW_ASSERT.
|
inline |
Definition at line 175 of file loops.cpp.
References lenet_tvm::target.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |