66 return reduceCrossings( sugi, constH, nCrossings );
90 virtual void call(
Level &L) = 0;
106 class CrossMinMaster;
107 class CrossMinWorker;
virtual const HierarchyLevels * reduceCrossings(const SugiyamaLayout &sugi, Hierarchy &H, int &nCrossings) override
Template method implementation of reduceCrossings from LayeredCrossMinModule.
Representation of proper hierarchies used by Sugiyama-layout.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Declaration of HierarchyLevels class.
Representation of levels in hierarchies.
Declaration of Hierarchy class.
virtual ~LayerByLayerSweep()
Interface of crossing minimization algorithms for layered graphs.
Sugiyama's layout algorithm.
void operator()(Level &L)
Performs crossing minimization for level L.
Declaration of interface for two-layer crossing minimization algorithms.
LayerByLayerSweep()
Initializes a two-layer crossing minimization module.
virtual void cleanup() override
Performs clean-up.
virtual void init(const HierarchyLevels &levels)
Initializes the crossing minimization module for hierarchy levels levels.
Interface of two-layer crossing minimization algorithms.
The namespace for all OGDF objects.
Representation of proper hierarchies used by Sugiyama-layout.