50 #ifndef OGDF_CLUSTER_ORTHO_SHAPER_H
51 #define OGDF_CLUSTER_ORTHO_SHAPER_H
67 enum n_type { low, high, inner, outer };
71 m_distributeEdges =
true;
73 m_allowLowZero =
false;
78 m_topToBottom = defaultCost;
99 int startBoundBendsPerEdge = 0,
100 bool fourPlanar =
true);
124 void align(
bool al) { m_align = al; }
130 int clusterProgBendCost(
int clDepth,
int treeDepth,
int pbc)
133 switch (m_topToBottom)
136 cost = pbc*(clDepth+1);
139 cost = pbc*(treeDepth - clDepth + 1);
156 int clusterTradBendCost(
int clDepth,
int treeDepth,
int pbc)
159 switch (m_topToBottom)
162 cost = pbc*(clDepth+1);
165 cost = pbc*(treeDepth - clDepth + 1);
202 bool maxBound =
true)
224 upB[netArc] = lowB[netArc] = 2;
225 edge e2 = aTwin[netArc];
228 upB[e2] = lowB[e2] = 0;
233 upB[netArc] = 2; lowB[netArc] = 0;
234 edge e2 = aTwin[netArc];
248 edge e2 = aTwin[netArc];
251 upB[e2] = lowB[e2] = 0;
258 edge e2 = aTwin[netArc];
272 edge e2 = aTwin[netArc];
275 upB[e2] = lowB[e2] = 0;
282 edge e2 = aTwin[netArc];