51 void setStartTemperature(
int startTemp);
54 void setNumberOfIterations(
int steps);
92 void initParameters();
98 bool testEnergyValue(
double newVal);
101 double randNum()
const;
107 void computeInitialEnergy();
Declares class EnergyFunction...
The Davidson-Harel approach for drawing graphs.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static const double m_defaultRadius
The default starting radius.
double m_diskRadius
The radius of the disk around the old position of a vertex where the new position will be...
static const double m_shrinkFactor
the constant by which the radius of the circle around each vertex is shrunk when the temperature is l...
double m_shrinkingFactor
The factor for radius.
The interface for energy functions for the Davidson Harel graph drawing method.
static const int m_iterationMultiplier
Per default, the number of iterations per temperature are set as a constant multiple of the number of...
Stores additional attributes of a graph (like layout information).
Doubly linked lists (maintaining the length of the list).
Class for the representation of nodes.
List< EnergyFunction * > m_energyFunctions
The list of the energy functions.
int m_numberOfIterations
The number of iterations per temperature step.
double m_energy
The current energy of the system.
List< double > m_weightsOfEnergyFunctions
The list of the weights for the energy functions.
static const int m_defaultTemp
The default starting temperature.
DavidsonHarel(const DavidsonHarel &)
Fake copy constructor (dummy to avoid copying)
int m_temperature
The temperature during the annealing process.
The namespace for all OGDF objects.
List< node > m_nonIsolatedNodes
The list of nodes with degree greater 0.
static const double m_coolingFactor
The fraction by which the temperature is lowered after a temperature step is finished.