Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

GreedyInsertHeuristic.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 #include <ogdf/basic/NodeArray.h>
37 
38 
39 namespace ogdf
40 {
41 
42 
44 
48 {
49 public:
52 
55 
57  virtual LayerByLayerSweep *clone() const override
58  {
59  return new GreedyInsertHeuristic(*this);
60  }
61 
63  virtual void init (const HierarchyLevels &levels) override;
64 
66  virtual void call (Level &L) override;
67 
69  virtual void cleanup () override;
70 
71 private:
74 };
75 
76 
77 } // end namespace ogdf
Representation of proper hierarchies used by Sugiyama-layout.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
GreedyInsertHeuristic(const GreedyInsertHeuristic &crossMin)
Creates a new instance of the greedy-insert heuristic.
Declaration of interface for two-layer crossing minimization algorithms.
Representation of levels in hierarchies.
Definition: Level.h:61
Declaration and implementation of NodeArray class.
virtual LayerByLayerSweep * clone() const override
Returns a new instance of the greed-insert heuristic with the same option settings.
Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e...
Declaration of class CrossingsMatrix.
GreedyInsertHeuristic()
Creates a new instance of the greedy-insert heuristic.
The greedy-insert heuristic for 2-layer crossing minimization.
Interface of two-layer crossing minimization algorithms.
The namespace for all OGDF objects.