Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

EmbedderMinDepthMaxFace.h
Go to the documentation of this file.
1 
33 #pragma once
34 
38 
39 namespace ogdf {
40 
42 
49 {
50 public:
51  //constructor:
53 
59  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
60 
61 private:
63 
74  int md_bottomUpTraversal(const node& bT, const node& cH);
75 
87  void md_topDownTraversal(const node& bT);
88 
96  int mf_constraintMaxFace(const node& bT, const node& cH);
97 
106  void mf_maximumFaceRec(const node& bT, node& bT_opt, int& ell_opt);
107 
114  void embedBlock(const node& bT);
115 
126  void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after);
127 
128 private:
131 
134 
137 
140 
143 
147 
152 
155 
158 
161 
164 
167 
170 
174 };
175 
176 } // end namespace ogdf
Definition of MDMFLengthAttribute.
NodeArray< MDMFLengthAttribute > mdmf_nodeLength
is saving for each node of the block graph its length
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
NodeArray< bool > treeNodeTreated
treeNodeTreated saves for all block nodes in the BC-tree if it has already been treated or not...
Auxiliary length attribute.
NodeArray< int > md_nodeLength
saving for each node in the block graph its length
Declaration of interface for embedder for graphs.
Declaration of class BCTree.
adjEntry * pAdjExternal
an adjacency entry on the external face
NodeArray< int > mf_nodeLength
is saving for each node of the block graph its length
NodeArray< List< adjEntry > > newOrder
saves for every node of G the new adjacency list
NodeArray< List< node > > md_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...
NodeArray< int > mf_maxFaceSize
an array containing the maximum face size of each block
Static BC-trees.
Definition: BCTree.h:56
Planar graph embedding with minimum block-nesting depth and maximum external face.
NodeArray< int > mf_cstrLength
is saving for each node of the block graph its cstrLength
Class for the representation of nodes.
Definition: Graph_d.h:167
Encapsulates a pointer to a list element.
Definition: List.h:41
BCTree * pBCTree
the BC-tree of G
NodeArray< List< node > > md_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...
The namespace for all OGDF objects.
Base class for embedder algorithms.
NodeArray< int > md_minDepth
an array containing the minimum depth of each block
Class for adjacency list elements.
Definition: Graph_d.h:78
EdgeArray< int > md_m_cB
an array saving the length for each edge in the BC-tree
EdgeArray< MDMFLengthAttribute > mdmf_edgeLength
is saving for each edge of the block graph its length