Base class for merger modules. More...
#include <ogdf/energybased/multilevel_mixer/MultilevelBuilder.h>
Public Member Functions | |
MultilevelBuilder () | |
virtual | ~MultilevelBuilder () |
virtual void | buildAllLevels (MultilevelGraph &MLG) |
int | getNumLevels () |
void | setEdgeLengthAdjustment (int factor) |
Protected Attributes | |
int | m_adjustEdgeLengths |
int | m_numLevels |
stores number of levels for statistics purposes | |
Private Member Functions | |
virtual bool | buildOneLevel (MultilevelGraph &MLG)=0 |
This method constructs one more level on top of an existing MultilevelGraph. | |
Base class for merger modules.
Definition at line 43 of file MultilevelBuilder.h.
|
inlinevirtual |
Definition at line 64 of file MultilevelBuilder.h.
|
inline |
Definition at line 66 of file MultilevelBuilder.h.
|
inlinevirtual |
Reimplemented in ogdf::IndependentSetMerger, and ogdf::SolarMerger.
Definition at line 68 of file MultilevelBuilder.h.
|
privatepure virtual |
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. |
Implemented in ogdf::EdgeCoverMerger, ogdf::IndependentSetMerger, ogdf::LocalBiconnectedMerger, ogdf::MatchingMerger, ogdf::RandomMerger, and ogdf::SolarMerger.
|
inline |
Definition at line 80 of file MultilevelBuilder.h.
Definition at line 78 of file MultilevelBuilder.h.
|
protected |
Definition at line 60 of file MultilevelBuilder.h.
|
protected |
stores number of levels for statistics purposes
Definition at line 61 of file MultilevelBuilder.h.