42class GridLayoutMapped;
46class CompactionConstraintGraph;
83 void tighten(
bool select) { m_tighten = select; }
86 bool tighten()
const {
return m_tighten; }
Includes declaration of graph class.
Declaration of class RoutingChannel which maintains required size of routing channels and separation,...
Declaration of singly linked lists and iterators.
Basic declarations, included by all source files.
Represents a constraint graph used for compaction.
Extends GridLayout by a grid mapping mechanism.
Compaction algorithm using longest paths in the constraint graph.
void maxImprovementSteps(int maxSteps)
Sets the option max improvement steps.
void constructiveHeuristics(PlanRep &PG, OrthoRep &OR, const RoutingChannel< int > &rc, GridLayoutMapped &drawing)
Constructive heurisitic for orthogonal representations.
void applyLongestPaths(const CompactionConstraintGraph< int > &D, NodeArray< int > &pos)
SList< node > m_pseudoSources
The list of pseudo-sources.
int maxImprovementSteps() const
Returns the option max improvement steps.
int m_maxImprovementSteps
The maximal number of improvement steps.
void improvementHeuristics(PlanRep &PG, OrthoRep &OR, const RoutingChannel< int > &rc, GridLayoutMapped &drawing)
Improvement heurisitic for orthogonal drawings.
void moveComponents(const CompactionConstraintGraph< int > &D, NodeArray< int > &pos)
bool m_tighten
Tighten pseudo-components.
bool tighten() const
Returns the option tighten.
NodeArray< int > m_component
The pseudo component of a node.
void tighten(bool select)
Sets option tighten to select.
void computeCoords(const CompactionConstraintGraph< int > &D, NodeArray< int > &pos)
LongestPathCompaction(bool tighten=true, int maxImprovementSteps=0)
Creates an instance of the longest path compaction algorithm.
Orthogonal representation of an embedded graph.
Planarized representations (of a connected component) of a graph.
Maintains input sizes for constructive compaction (size of routing channels, separation,...
Singly linked lists (maintaining the length of the list).
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.