Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

LayeredCrossMinModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/layered/Hierarchy.h>
37 
38 namespace ogdf {
39 
40 class SugiyamaLayout;
41 
55 public:
56 
59 
61  virtual ~LayeredCrossMinModule() { }
62 
64  virtual const HierarchyLevelsBase *reduceCrossings(const SugiyamaLayout &sugi, Hierarchy &H, int &nCrossings) = 0;
65 
67  virtual void cleanup() { }
68 
70 };
71 
72 
73 } // end namespace ogdf
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
Declaration of interfaces used in Sugiyama framework.
LayeredCrossMinModule()
Creates empty module.
Declaration of Hierarchy class.
Interface of crossing minimization algorithms for layered graphs.
Sugiyama&#39;s layout algorithm.
virtual void cleanup()
Performs clean-up.
The namespace for all OGDF objects.
virtual ~LayeredCrossMinModule()
Destruct.
Representation of proper hierarchies used by Sugiyama-layout.
Definition: Hierarchy.h:44