Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

IndependentSetMerger.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 #include <vector>
39 
40 namespace ogdf {
41 class MultilevelGraph;
42 
44 
48 private:
49  float m_base;
50 
51  std::vector<node> prebuildLevel(const Graph& G, const std::vector<node>& oldLevelNodes,
52  int level);
53 
54  bool buildOneLevel(MultilevelGraph& MLG) override { return false; }
55 
56  bool buildOneLevel(MultilevelGraph& MLG, std::vector<node>& levelNodes);
57 
58 public:
59  void buildAllLevels(MultilevelGraph& MLG) override;
60  void setSearchDepthBase(float base);
61 
63 };
64 
65 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
Graph.h
Includes declaration of graph class.
ogdf::IndependentSetMerger::buildOneLevel
bool buildOneLevel(MultilevelGraph &MLG) override
This method constructs one more level on top of an existing MultilevelGraph.
Definition: IndependentSetMerger.h:54
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:69
ogdf::IndependentSetMerger
The independent set merger for multilevel layout.
Definition: IndependentSetMerger.h:47
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:869
ogdf::MultilevelBuilder
Base class for merger modules.
Definition: MultilevelBuilder.h:43
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
MultilevelBuilder.h
Declaration of MultilevelBuilder.
ogdf::IndependentSetMerger::m_base
float m_base
Definition: IndependentSetMerger.h:49