The solar merger for multilevel layout.
More...
#include <ogdf/energybased/multilevel_mixer/SolarMerger.h>
The solar merger for multilevel layout.
Definition at line 48 of file SolarMerger.h.
◆ SolarMerger()
ogdf::SolarMerger::SolarMerger |
( |
bool |
simple = false , |
|
|
bool |
massAsNodeRadius = false |
|
) |
| |
|
explicit |
◆ addPath()
void ogdf::SolarMerger::addPath |
( |
node |
sourceSun, |
|
|
node |
targetSun, |
|
|
double |
distance |
|
) |
| |
|
private |
◆ buildAllLevels()
◆ buildOneLevel()
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.
- Parameters
-
- Returns
- true if the Graph was changed or false if no level can be built.
Implements ogdf::MultilevelBuilder.
◆ calcSystemMass()
int ogdf::SolarMerger::calcSystemMass |
( |
node |
v | ) |
|
|
private |
◆ collapseSolarSystem()
◆ distanceToSun()
◆ findInterSystemPaths()
◆ selectSuns()
◆ sunOf()
node ogdf::SolarMerger::sunOf |
( |
node |
object | ) |
|
|
private |
◆ m_celestial
NodeArray<int> ogdf::SolarMerger::m_celestial |
|
private |
◆ m_distanceToOrbit
NodeArray<double> ogdf::SolarMerger::m_distanceToOrbit |
|
private |
◆ m_interSystemPaths
std::map<int, std::map<int, PathData> > ogdf::SolarMerger::m_interSystemPaths |
|
private |
◆ m_mass
NodeArray<unsigned int> ogdf::SolarMerger::m_mass |
|
private |
◆ m_massAsNodeRadius
bool ogdf::SolarMerger::m_massAsNodeRadius |
|
private |
◆ m_orbitalCenter
◆ m_pathDistances
◆ m_radius
NodeArray<double> ogdf::SolarMerger::m_radius |
|
private |
◆ m_sunSelectionSimple
bool ogdf::SolarMerger::m_sunSelectionSimple |
|
private |
The documentation for this class was generated from the following file: