Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

SplitHeuristic.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/EdgeArray.h>
37 
38 namespace ogdf {
39 
40 
42 
46 {
47 public:
49  SplitHeuristic() : m_cm(nullptr) { }
50 
52  SplitHeuristic(const SplitHeuristic &crossMin) : m_cm(nullptr) { }
53 
55  cleanup();
56  }
57 
59  TwoLayerCrossMinSimDraw *clone() const override { return new SplitHeuristic(*this); }
60 
62  void init (const HierarchyLevels &levels) override;
63 
65  void call (Level &L) override;
66 
68  void call (Level &L, const EdgeArray<uint32_t> *edgeSubGraphs) override;
69 
71  void cleanup () override;
72 
73 private:
76 
77  void recCall(Level&, int low, int high);
78 };
79 
80 }
CrossingsMatrix * m_cm
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
Representation of levels in hierarchies.
Definition: Level.h:61
void init()
Definition: graphics.h:472
The split heuristic for 2-layer crossing minimization.
Declaration and implementation of EdgeArray class.
SplitHeuristic(const SplitHeuristic &crossMin)
Creates a new instance of the split heuristic.
Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e...
Declaration of class CrossingsMatrix.
SplitHeuristic()
Creates a new instance of the split heuristic.
Declaration of interface for two-layer crossing minimization algorithms for Simultaneous Drawing...
The namespace for all OGDF objects.
Array< node > m_buffer
TwoLayerCrossMinSimDraw * clone() const override
Returns a new instance of the splitheurisitc with the same option settings.