Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

EmbedderMinDepth.h
Go to the documentation of this file.
1 
32 #pragma once
33 
37 
38 namespace ogdf {
39 
41 
48 {
49 public:
56  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
57 
58 private:
65  void computeBlockGraphs(const node& bT, const node& cH);
66 
77  int bottomUpTraversal(const node& bT, const node& cH);
78 
90  void topDownTraversal(const node& bT);
91 
98  void embedBlock(const node& bT);
99 
110  void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after);
111 
112 private:
115 
118 
121 
124 
127 
130 
133 
136 
142 
149 
152 
156 
159 };
160 
161 }
NodeArray< EdgeArray< edge > > eBlockEmbedding_to_eH
a mapping of edges in blockG to the auxiliaryGraph of the BC-tree
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
NodeArray< List< node > > M_B
M_B = {cH in B | m_B(cH) = m_B} with m_B = max_{m_B(c) : c in B} and m_B(c) = max( {0} cup {m_{c...
NodeArray< Graph > blockG
all blocks
NodeArray< StaticSPQRTree * > spqrTrees
The SPQR-trees of the blocks.
EdgeArray< int > m_cB
an array saving the length for each edge in the BC-tree
NodeArray< int > minDepth
an array containing the minimum depth of each block
NodeArray< NodeArray< node > > nBlockEmbedding_to_nH
a mapping of nodes in blockG to the auxiliaryGraph of the BC-tree
Dynamic arrays indexed with nodes.
Definition: Graph_d.h:438
NodeArray< List< adjEntry > > newOrder
saves for every node of G the new adjacency list
Declaration of class StaticSPQRTree.
NodeArray< List< node > > M2
M2 is empty, if |M_B| != 1, otherwise M_B = {cH} M2 = {cH&#39; in V_B \ {v} | m_B(cH&#39;) = m2} with m2 = ma...
Class for the representation of nodes.
Definition: Graph_d.h:169
Encapsulates a pointer to a list element.
Definition: List.h:42
NodeArray< EdgeArray< edge > > eH_to_eBlockEmbedding
a mapping of edges in the auxiliaryGraph of the BC-tree to blockG
NodeArray< NodeArray< node > > nH_to_nBlockEmbedding
a mapping of nodes in the auxiliaryGraph of the BC-tree to blockG
Declares ogdf::EmbedderMaxFaceBiconnectedGraphs.
NodeArray< bool > treeNodeTreated
treeNodeTreated saves for all block nodes in the BC-tree if it has already been treated or not...
Common base for embedder algorithms based on BC trees.
The namespace for all OGDF objects.
Definition of ogdf::EmbedderBCTreeBase.
Embedder that minimizes block-nesting depth.
NodeArray< NodeArray< int > > nodeLength
saving for each node in the block graphs its length
Class for adjacency list elements.
Definition: Graph_d.h:79