Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

EmbedderMinDepthMaxFace.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
40 
47 {
48 public:
54  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
55 
56 protected:
58 
69  int bottomUpTraversal(const node &bT, const node &cH);
70 
82  void topDownTraversal(const node &bT);
83 
84  int constraintMaxFace(const node &bT, const node &cH) override;
85 
86  void maximumFaceRec(const node &bT, node &bT_opt, int &ell_opt) override;
87 
88  virtual void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after) override;
89 
91 
94 
97 
100 
104 
109 
112 
115 
118 
121 
124 };
125 
126 }
Definition of MDMFLengthAttribute.
NodeArray< int > maxFaceSize
an array containing the maximum face size of each block
NodeArray< int > minDepth
an array containing the minimum depth of each block
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:492
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Auxiliary length attribute.
EdgeArray< MDMFLengthAttribute > edgeLength
is saving for each edge of the block graph its length
NodeArray< int > md_nodeLength
saving for each node in the block graph its length
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...
NodeArray< int > mf_nodeLength
is saving for each node of the block graph its length
Declares ogdf::EmbedderMaxFace.
Embedding that minimizes block-nesting depth and maximizes the 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:169
Encapsulates a pointer to a list element.
Definition: List.h:42
Embedder that maximizes the external face.
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.
void embedBlock(const node &bT)
Computes the adjacency list for all nodes in a block and calls recursively the function for all block...
EdgeArray< int > cB
an array saving the length for each edge in the BC-tree
Class for adjacency list elements.
Definition: Graph_d.h:79