represents compaction algorithm using min-cost flow in the dual of the constraint graph
More...
#include <ogdf/orthogonal/FlowCompaction.h>
|
| FlowCompaction (int maxImprovementSteps=0, int costGen=1, int costAssoc=1) |
| construction More...
|
|
void | align (bool b) |
| set alignment option More...
|
|
void | constructiveHeuristics (PlanRep &PG, OrthoRep &OR, const RoutingChannel< int > &rc, GridLayoutMapped &drawing) |
| call of constructive heuristics for orthogonal representation More...
|
|
int | costAssoc () const |
| returns option costGen More...
|
|
void | costAssoc (int c) |
| sets cost of arcs in constraint graph corresponding to associations More...
|
|
int | costGen () const |
| returns option costGen More...
|
|
void | costGen (int c) |
| sets cost of arcs in constraint graph corresponding to generalizations More...
|
|
void | improvementHeuristics (PlanRep &PG, OrthoRep &OR, const RoutingChannel< int > &rc, GridLayoutMapped &drawing) |
| call of improvement heuristics for orthogonal drawing (variable cages) More...
|
|
void | improvementHeuristics (PlanRep &PG, OrthoRep &OR, MinimumEdgeDistances< int > &minDist, GridLayoutMapped &drawing, int originalSeparation) |
| call of improvement heuristics for orthogonal drawing (tight cages) More...
|
|
int | maxImprovementSteps () const |
| returns option maxImprovementSteps More...
|
|
void | maxImprovementSteps (int maxSteps) |
| sets option maxImprovementSteps, which is the maximal number of steps performed by improvementHeuristics(). More...
|
|
void | scalingSteps (int sc) |
| sets number of separation scaling improvement steps More...
|
|
represents compaction algorithm using min-cost flow in the dual of the constraint graph
Definition at line 51 of file FlowCompaction.h.
◆ FlowCompaction()
ogdf::FlowCompaction::FlowCompaction |
( |
int |
maxImprovementSteps = 0 , |
|
|
int |
costGen = 1 , |
|
|
int |
costAssoc = 1 |
|
) |
| |
|
explicit |
◆ align()
void ogdf::FlowCompaction::align |
( |
bool |
b | ) |
|
|
inline |
◆ computeCoords()
void ogdf::FlowCompaction::computeCoords |
( |
CompactionConstraintGraph< int > & |
D, |
|
|
NodeArray< int > & |
pos, |
|
|
bool |
fixZeroLength = false , |
|
|
bool |
fixVertexSize = false , |
|
|
bool |
improvementHeuristics = false , |
|
|
bool |
onlyGen = false |
|
) |
| |
|
private |
◆ constructiveHeuristics()
call of constructive heuristics for orthogonal representation
◆ costAssoc() [1/2]
int ogdf::FlowCompaction::costAssoc |
( |
| ) |
const |
|
inline |
◆ costAssoc() [2/2]
void ogdf::FlowCompaction::costAssoc |
( |
int |
c | ) |
|
|
inline |
sets cost of arcs in constraint graph corresponding to associations
Definition at line 90 of file FlowCompaction.h.
◆ costGen() [1/2]
int ogdf::FlowCompaction::costGen |
( |
| ) |
const |
|
inline |
◆ costGen() [2/2]
void ogdf::FlowCompaction::costGen |
( |
int |
c | ) |
|
|
inline |
sets cost of arcs in constraint graph corresponding to generalizations
Definition at line 84 of file FlowCompaction.h.
◆ dfsAssignPos()
void ogdf::FlowCompaction::dfsAssignPos |
( |
NodeArray< bool > & |
visited, |
|
|
NodeArray< int > & |
pos, |
|
|
node |
v, |
|
|
int |
x |
|
) |
| |
|
private |
◆ improvementHeuristics() [1/2]
call of improvement heuristics for orthogonal drawing (variable cages)
◆ improvementHeuristics() [2/2]
call of improvement heuristics for orthogonal drawing (tight cages)
◆ maxImprovementSteps() [1/2]
int ogdf::FlowCompaction::maxImprovementSteps |
( |
| ) |
const |
|
inline |
◆ maxImprovementSteps() [2/2]
void ogdf::FlowCompaction::maxImprovementSteps |
( |
int |
maxSteps | ) |
|
|
inline |
◆ scalingSteps()
void ogdf::FlowCompaction::scalingSteps |
( |
int |
sc | ) |
|
|
inline |
sets number of separation scaling improvement steps
Definition at line 96 of file FlowCompaction.h.
◆ m_align
bool ogdf::FlowCompaction::m_align |
|
private |
toggle if brother nodes in hierarchies should be aligned
Definition at line 116 of file FlowCompaction.h.
◆ m_cageExpense
bool ogdf::FlowCompaction::m_cageExpense |
|
private |
should cageedges be more expensive than others? will be propagated to compactionConstraintGraph
Definition at line 112 of file FlowCompaction.h.
◆ m_costAssoc
int ogdf::FlowCompaction::m_costAssoc |
|
private |
cost of arcs in constraint graph corresponding to associations
Definition at line 111 of file FlowCompaction.h.
◆ m_costGen
int ogdf::FlowCompaction::m_costGen |
|
private |
cost of arcs in constraint graph corresponding to generalization
Definition at line 110 of file FlowCompaction.h.
◆ m_dualEdge
◆ m_flow
◆ m_maxImprovementSteps
int ogdf::FlowCompaction::m_maxImprovementSteps |
|
private |
◆ m_numGenSteps
int ogdf::FlowCompaction::m_numGenSteps |
|
private |
number of steps reserved for generalization compaction
Definition at line 114 of file FlowCompaction.h.
◆ m_scalingSteps
int ogdf::FlowCompaction::m_scalingSteps |
|
private |
number of improvement steps with decreasing separation
Definition at line 115 of file FlowCompaction.h.
The documentation for this class was generated from the following file: