57 enum class Strategy { LeftToRight, DescDegree, Random };
Declaration of class CrossingsMatrix.
Declaration of interface for two-layer crossing minimization algorithms.
Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e....
Representation of proper hierarchies used by Sugiyama-layout.
Interface of two-layer crossing minimization algorithms.
Representation of levels in hierarchies.
The sifting heuristic for 2-layer crossing minimization.
SiftingHeuristic(const SiftingHeuristic &crossMin)
Creates a new instance of the sifting heuristic with the same option settings as crossMin.
SiftingHeuristic()
Creates a new instance of the sifting heuristic with default option settings.
virtual void init(const HierarchyLevels &levels) override
Initializes crossing minimization for hierarchy H.
CrossingsMatrix * m_crossingMatrix
virtual void call(Level &L) override
Calls the sifting heuristic for level L.
void strategy(Strategy strategy)
Set for Strategy.
virtual LayerByLayerSweep * clone() const override
Returns a new instance of the sifting heuristic with the same option settings.
Strategy
Enumerates the different sifting strategies.
virtual void cleanup() override
Does some clean-up after calls.
Strategy strategy() const
Get for Strategy.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.