The solar merger for multilevel layout. More...
#include <ogdf/energybased/multilevel_mixer/SolarMerger.h>
Classes | |
struct | PathData |
Public Member Functions | |
SolarMerger (bool simple=false, bool massAsNodeRadius=false) | |
void | buildAllLevels (MultilevelGraph &MLG) override |
Public Member Functions inherited from ogdf::MultilevelBuilder | |
MultilevelBuilder () | |
virtual | ~MultilevelBuilder () |
int | getNumLevels () |
void | setEdgeLengthAdjustment (int factor) |
Private Member Functions | |
void | addPath (node sourceSun, node targetSun, double distance) |
bool | buildOneLevel (MultilevelGraph &MLG) override |
This method constructs one more level on top of an existing MultilevelGraph. | |
int | calcSystemMass (node v) |
bool | collapseSolarSystem (MultilevelGraph &MLG, node sun, int level) |
double | distanceToSun (node object, MultilevelGraph &MLG) |
void | findInterSystemPaths (Graph &G, MultilevelGraph &MLG) |
std::vector< node > | selectSuns (MultilevelGraph &MLG) |
node | sunOf (node object) |
Private Attributes | |
NodeArray< int > | m_celestial |
NodeArray< double > | m_distanceToOrbit |
std::map< int, std::map< int, PathData > > | m_interSystemPaths |
NodeArray< unsigned int > | m_mass |
bool | m_massAsNodeRadius |
NodeArray< node > | m_orbitalCenter |
NodeArray< std::vector< PathData > > | m_pathDistances |
NodeArray< double > | m_radius |
bool | m_sunSelectionSimple |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::MultilevelBuilder | |
int | m_adjustEdgeLengths |
int | m_numLevels |
stores number of levels for statistics purposes | |
The solar merger for multilevel layout.
Definition at line 42 of file SolarMerger.h.
|
overridevirtual |
Reimplemented from ogdf::MultilevelBuilder.
|
overrideprivatevirtual |
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.
|
private |
|
private |
|
private |
|
private |
Definition at line 56 of file SolarMerger.h.
Definition at line 58 of file SolarMerger.h.
Definition at line 60 of file SolarMerger.h.
Definition at line 54 of file SolarMerger.h.
|
private |
Definition at line 53 of file SolarMerger.h.
Definition at line 57 of file SolarMerger.h.
Definition at line 59 of file SolarMerger.h.
Definition at line 55 of file SolarMerger.h.
|
private |
Definition at line 52 of file SolarMerger.h.