Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

GreedyInsertHeuristic.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 #include <ogdf/basic/NodeArray.h>
37 
38 namespace ogdf {
39 
41 
45 {
46 public:
49 
52 
54  virtual LayerByLayerSweep *clone() const override
55  {
56  return new GreedyInsertHeuristic(*this);
57  }
58 
60  virtual void init (const HierarchyLevels &levels) override;
61 
63  virtual void call (Level &L) override;
64 
66  virtual void cleanup () override;
67 
68 private:
71 };
72 
73 }
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
void init()
Definition: graphics.h:472
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.