The independent set merger for multilevel layout. More...
#include <ogdf/energybased/multilevel_mixer/IndependentSetMerger.h>
Public Member Functions | |
IndependentSetMerger () | |
void | buildAllLevels (MultilevelGraph &MLG) override |
void | setSearchDepthBase (float base) |
Public Member Functions inherited from ogdf::MultilevelBuilder | |
MultilevelBuilder () | |
virtual | ~MultilevelBuilder () |
int | getNumLevels () |
void | setEdgeLengthAdjustment (int factor) |
Private Member Functions | |
bool | buildOneLevel (MultilevelGraph &MLG) override |
This method constructs one more level on top of an existing MultilevelGraph. More... | |
bool | buildOneLevel (MultilevelGraph &MLG, std::vector< node > &levelNodes) |
std::vector< node > | prebuildLevel (const Graph &G, const std::vector< node > &oldLevelNodes, int level) |
Private Attributes | |
float | m_base |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::MultilevelBuilder | |
int | m_adjustEdgeLengths |
int | m_numLevels |
stores number of levels for statistics purposes More... | |
The independent set merger for multilevel layout.
Definition at line 47 of file IndependentSetMerger.h.
ogdf::IndependentSetMerger::IndependentSetMerger | ( | ) |
|
overridevirtual |
Reimplemented from ogdf::MultilevelBuilder.
|
inlineoverrideprivatevirtual |
This method constructs one more level on top of an existing MultilevelGraph.
It must be implemented in any MultilevelBuilder. A level is built by adding node-merges to the MultilevelGraph and updating the graph accordingly. This is achieved by calling MLG.
MLG | is the MultilevelGraph for which a new gevel will be built. |
Implements ogdf::MultilevelBuilder.
Definition at line 54 of file IndependentSetMerger.h.
|
private |
|
private |
void ogdf::IndependentSetMerger::setSearchDepthBase | ( | float | base | ) |
|
private |
Definition at line 49 of file IndependentSetMerger.h.