Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

EmbedderMinDepthMaxFace.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
40 
47 public:
53  virtual void doCall(Graph& G, adjEntry& adjExternal) override;
54 
55 protected:
57 
68  int bottomUpTraversal(const node& bT, const node& cH);
69 
81  void topDownTraversal(const node& bT);
82 
83  int constraintMaxFace(const node& bT, const node& cH) override;
84 
85  void maximumFaceRec(const node& bT, node& bT_opt, int& ell_opt) override;
86 
87  virtual void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after) override;
88 
90 
93 
96 
99 
103 
108 
111 
114 
117 
120 
123 };
124 
125 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::embedder::MDMFLengthAttribute
Auxiliary length attribute.
Definition: MDMFLengthAttribute.h:45
ogdf::EmbedderMaxFace::embedBlock
void embedBlock(const node &bT)
Computes the adjacency list for all nodes in a block and calls recursively the function for all block...
ogdf::EmbedderMinDepthMaxFace::mf_nodeLength
NodeArray< int > mf_nodeLength
is saving for each node of the block graph its length
Definition: EmbedderMinDepthMaxFace.h:110
ogdf::EmbedderMaxFace
Embedder that maximizes the external face.
Definition: EmbedderMaxFace.h:47
ogdf::EmbedderMinDepthMaxFace::M2
NodeArray< List< node > > M2
M2 is empty, if |M_B| != 1, otherwise M_B = {cH} M2 = {cH' in V_B \ {v} | m_B(cH') = m2} with m2 = ma...
Definition: EmbedderMinDepthMaxFace.h:107
ogdf::EmbedderMinDepthMaxFace::mf_cstrLength
NodeArray< int > mf_cstrLength
is saving for each node of the block graph its cstrLength
Definition: EmbedderMinDepthMaxFace.h:113
ogdf::EmbedderMinDepthMaxFace::md_M_B
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,...
Definition: EmbedderMinDepthMaxFace.h:102
MDMFLengthAttribute.h
Definition of MDMFLengthAttribute.
ogdf::AdjElement
Class for adjacency list elements.
Definition: Graph_d.h:135
ogdf::EmbedderMinDepthMaxFace::cB
EdgeArray< int > cB
an array saving the length for each edge in the BC-tree
Definition: EmbedderMinDepthMaxFace.h:98
ogdf::internal::GraphRegisteredArray
RegisteredArray for nodes, edges and adjEntries of a graph.
Definition: Graph_d.h:651
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
ogdf::EmbedderMinDepthMaxFace::minDepth
NodeArray< int > minDepth
an array containing the minimum depth of each block
Definition: EmbedderMinDepthMaxFace.h:95
ogdf::EmbedderMinDepthMaxFace::edgeLength
EdgeArray< MDMFLengthAttribute > edgeLength
is saving for each edge of the block graph its length
Definition: EmbedderMinDepthMaxFace.h:122
EmbedderMaxFace.h
Declares ogdf::EmbedderMaxFace.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::EmbedderMinDepthMaxFace::md_nodeLength
NodeArray< int > md_nodeLength
saving for each node in the block graph its length
Definition: EmbedderMinDepthMaxFace.h:92
ogdf::EmbedderMinDepthMaxFace::mdmf_nodeLength
NodeArray< MDMFLengthAttribute > mdmf_nodeLength
is saving for each node of the block graph its length
Definition: EmbedderMinDepthMaxFace.h:119
ogdf::ListIteratorBase
Encapsulates a pointer to a list element.
Definition: List.h:46
ogdf::EmbedderMinDepthMaxFace::maxFaceSize
NodeArray< int > maxFaceSize
an array containing the maximum face size of each block
Definition: EmbedderMinDepthMaxFace.h:116
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:233
ogdf::internal::EdgeArrayBase2
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Definition: Graph_d.h:709
ogdf::EmbedderMinDepthMaxFace
Embedding that minimizes block-nesting depth and maximizes the external face.
Definition: EmbedderMinDepthMaxFace.h:46