Open
Graph Drawing
Framework

 v.2012.07
 

EmbedderMinDepthMaxFaceLayers.h
Go to the documentation of this file.
1 /*
2  * $Revision: 2584 $
3  *
4  * last checkin:
5  * $Author: gutwenger $
6  * $Date: 2012-07-12 02:38:07 +0200 (Do, 12. Jul 2012) $
7  ***************************************************************/
8 
44 #ifdef _MSC_VER
45 #pragma once
46 #endif
47 
48 #ifndef OGDF_EMBEDDER_MIN_DEPTH_MAX_FACE_Layers_H
49 #define OGDF_EMBEDDER_MIN_DEPTH_MAX_FACE_Layers_H
50 
54 
55 namespace ogdf {
56 
58 
68 {
69 public:
70  //constructor:
72 
78  void call(Graph& G, adjEntry& adjExternal);
79 
80 private:
91  int md_bottomUpTraversal(const node& bT, const node& cH);
92 
104  void md_topDownTraversal(const node& bT);
105 
113  int mf_constraintMaxFace(const node& bT, const node& cH);
114 
123  void mf_maximumFaceRec(const node& bT, node& bT_opt, int& ell_opt);
124 
131  void embedBlock(const node& bT);
132 
143  void embedBlock(const node& bT, const node& cT, ListIterator<adjEntry>& after);
144 
145 private:
148 
151 
154 
157 
160 
164 
169 
172 
175 
178 
181 
184 
187 
191 };
192 
193 } // end namespace ogdf
194 
195 #endif