Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

GreedyInsertHeuristic.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
35 #include <ogdf/basic/basic.h>
37 
38 namespace ogdf {
39 class CrossingsMatrix;
40 class HierarchyLevels;
41 class Level;
42 
44 
48 public:
51 
54 
56  virtual LayerByLayerSweep* clone() const override { return new GreedyInsertHeuristic(*this); }
57 
59  virtual void init(const HierarchyLevels& levels) override;
60 
62  virtual void call(Level& L) override;
63 
65  virtual void cleanup() override;
66 
67 private:
70 };
71 
72 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
Graph.h
Includes declaration of graph class.
ogdf::CrossingsMatrix
Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e....
Definition: CrossingsMatrix.h:48
ogdf::GreedyInsertHeuristic::m_crossingMatrix
CrossingsMatrix * m_crossingMatrix
Definition: GreedyInsertHeuristic.h:68
ogdf::GreedyInsertHeuristic::GreedyInsertHeuristic
GreedyInsertHeuristic(const GreedyInsertHeuristic &crossMin)
Creates a new instance of the greedy-insert heuristic.
Definition: GreedyInsertHeuristic.h:53
ogdf::GreedyInsertHeuristic::clone
virtual LayerByLayerSweep * clone() const override
Returns a new instance of the greed-insert heuristic with the same option settings.
Definition: GreedyInsertHeuristic.h:56
ogdf::GreedyInsertHeuristic
The greedy-insert heuristic for 2-layer crossing minimization.
Definition: GreedyInsertHeuristic.h:47
ogdf::GreedyInsertHeuristic::GreedyInsertHeuristic
GreedyInsertHeuristic()
Creates a new instance of the greedy-insert heuristic.
Definition: GreedyInsertHeuristic.h:50
LayerByLayerSweep.h
Declaration of interface for two-layer crossing minimization algorithms.
ogdf::internal::GraphRegisteredArray
RegisteredArray for nodes, edges and adjEntries of a graph.
Definition: Graph_d.h:658
ogdf::graphics::init
void init()
Definition: graphics.h:450
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::Level
Representation of levels in hierarchies.
Definition: Level.h:66
ogdf::LayerByLayerSweep
Interface of two-layer crossing minimization algorithms.
Definition: LayerByLayerSweep.h:61
ogdf::HierarchyLevels
Representation of proper hierarchies used by Sugiyama-layout.
Definition: HierarchyLevels.h:51
ogdf::GreedyInsertHeuristic::m_weight
NodeArray< double > m_weight
Definition: GreedyInsertHeuristic.h:69