Baseclasses
Definition
The class FlowCompaction represents the one-dimensional compaction module based on minimu-cost flow computations in the so called constraint graphs [KM98a].
#include < AGD/FlowCompaction.h >
Creation
FlowCompaction | C | creates an instance C of type FlowCompaction. |
Operations
Standard Interface
double | C.call(GridLayout& L) | Performs a visibility-based compaction on the layout. The compaction is realized by an alternating sequence of minimum-cost flow computations in the constraint graphs for x and y-direction |
int | C.call(const OrthogonalRepresentation& H, GridLayout& L) | |
Performs a visibility-based compaction on the constraint graphs defined by the shape of the drawing. To do this, H must be equivalent to a complete shape description. The result is an drawing with minimum total edge length for the given H |
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13