Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
IndependentSetMerger.h
Go to the documentation of this file.
1
32#pragma once
33
35
36namespace ogdf {
37
39
43private:
44 float m_base;
45
46 std::vector<node> prebuildLevel(const Graph& G, const std::vector<node>& oldLevelNodes,
47 int level);
48
49 bool buildOneLevel(MultilevelGraph& MLG) override { return false; }
50
51 bool buildOneLevel(MultilevelGraph& MLG, std::vector<node>& levelNodes);
52
53public:
56
58};
59
60}
Declaration of MultilevelBuilder.
Data type for general directed graphs (adjacency list representation).
Definition Graph_d.h:521
The independent set merger for multilevel layout.
void buildAllLevels(MultilevelGraph &MLG) override
bool buildOneLevel(MultilevelGraph &MLG, std::vector< node > &levelNodes)
void setSearchDepthBase(float base)
bool buildOneLevel(MultilevelGraph &MLG) override
This method constructs one more level on top of an existing MultilevelGraph.
std::vector< node > prebuildLevel(const Graph &G, const std::vector< node > &oldLevelNodes, int level)
Base class for merger modules.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition config.h:101
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.