87 void setRepulsionWeight(
double w);
93 void setAttractionWeight(
double);
99 void setNodeOverlapWeight(
double);
105 void setPlanarityWeight(
double);
111 void setStartTemperature(
int t);
117 void setNumberOfIterations(
int steps);
void setPreferredEdgeLengthMultiplier(double multi)
Sets the preferred edge length multiplier for attraction.
void setPreferredEdgeLength(double elen)
Sets the preferred edge length to elen.
SpeedParameter
Easy way to set temperature and iterations.
double m_planarityWeight
The weight for edge crossing energy.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
int m_startTemperature
The temperature at the start of the optimization.
SettingsParameter
Easy way to set fixed costs.
int m_numberOfIterations
The number of iterations per temperature step.
void setIterationNumberAsFactor(bool b)
Switch between using iteration number as fixed number or factor (*number of nodes of graph) ...
bool m_itAsFactor
Should m_numberOfIterations be factor (true) or fixed number.
int getStartTemperature() const
Returns the starting temperature.
bool m_crossings
Should crossings be computed?
double m_repulsionWeight
The weight for repulsion energy.
SpeedParameter m_speed
You can override this by manually setting iter=0.
The Davidson-Harel layout algorithm.
double getNodeOverlapWeight() const
Returns the weight for the energy function NodeOverlap.
Stores additional attributes of a graph (like layout information).
double getRepulsionWeight() const
Returns the weight for the energy function Repulsion.
Declaration of interface for layout algorithms (class LayoutModule)
double getPlanarityWeight() const
Returns the weight for the energy function Planarity.
Interface of general layout algorithms.
int getNumberOfIterations() const
Returns the number of iterations per temperature step.
The namespace for all OGDF objects.
double getAttractionWeight() const
Returns the weight for the energy function Attraction.
double m_prefEdgeLength
Preferred edge length (abs value), only used if > 0.
double m_attractionWeight
The weight for attraction energy.
double m_nodeOverlapWeight
The weight for node overlap energy.
double m_multiplier
By default, number of iterations per temperature step is number of vertices multiplied by multiplier...