119 return m_forceModelImprove;
124 m_forceModelImprove = fm;
134 return m_avgConvergenceFactor;
140 m_avgConvergenceFactor = f;
150 return m_maxConvergenceFactor;
156 m_maxConvergenceFactor = f;
176 return m_iterationsImprove;
182 m_iterationsImprove = i;
187 return m_idealEdgeLength;
191 return m_coolDownFactor;
195 return m_forceLimitStep;
204 m_idealEdgeLength = len;
241 return m_scaleFactor;
double m_bbXmax
User bounding box (minimal y-coordinate).
double m_bbYmin
User bounding box (maximal x-coordinate).
SpringForceModel forceModel() const
Returns the currently used force model.
double pageRatio()
Returns the page ratio.
Scaling m_scaling
The scaling method.
unsigned int maxThreads() const
Returns the maximal number of used threads.
double m_avgConvergenceFactor
convergence if avg.
void scaling(Scaling sc)
Sets the method for scaling the inital layout to sc.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
double m_xright
Bounding box (maximal x-coordinate).
double minDistCC() const
Returns the minimum distance between connected components.
SpringForceModel m_forceModelImprove
The used force model.
double avgConvergenceFactor() const
Returns the currently used average convergence factor.
void idealEdgeLength(double len)
Sets the ideal edge length to len.
void pageRatio(double x)
Sets the page ration to x.
double m_bbYmax
User bounding box (maximal y-coordinate).
double coolDownFactor() const
~SpringEmbedderGridVariant()
int m_iterations
The number of iterations.
SpringForceModel forceModelImprove() const
Returns the currently used force model for the improvement step.
void forceModel(SpringForceModel fm)
Sets the used force model to fm.
double idealEdgeLength() const
Returns the current setting of ideal edge length.
The spring-embedder layout algorithm with force approximation using hte grid variant approach...
void iterationsImprove(int i)
Sets the number of iterations for the improvement phase to i.
void avgConvergenceFactor(double f)
Sets the average convergence factor to f.
int iterations() const
Returns the current setting of iterations.
double m_ybig
Bounding box (maximal y-coordinate).
double m_pageRatio
The page ratio.
bool noise() const
Returns the current setting of noise.
Declaration of class GraphCopy Attributes which manages access on a copy of an attributed graph...
bool m_noise
The used force model for the improvement phase.
Scaling scaling() const
Returns the current scaling method.
double m_ysmall
Bounding box (minimal y-coordinate).
double m_idealEdgeLength
The ideal edge length.
Stores additional attributes of a graph (like layout information).
void maxThreads(unsigned int n)
Sets the maximal number of used threads to n.
void iterations(int i)
Sets the number of iterations to i.
double m_bbXmin
User bounding box (minimal x-coordinate).
void userBoundingBox(double xmin, double ymin, double xmax, double ymax)
Sets the user bounding box (used if scaling method is scUserBoundingBox).
Declaration of interface for layout algorithms (class LayoutModule)
Encapsulates a pointer to a list element.
Interface of general layout algorithms.
void maxConvergenceFactor(double f)
Sets the maximum convergence factor to f.
Scaling
The scaling method used by the algorithm.
double m_xleft
Bounding box (minimal x-coordinate).
SpringForceModel
The force model used for computing forces on nodes.
double m_maxConvergenceFactor
convergence if max.
int m_iterationsImprove
The number of iterations for the improvement phase.
double m_scaleFactor
The factor used if scaling type is scScaleFunction.
ListIterator< int > m_lit
double scaleFunctionFactor() const
Returns the current scale function factor.
double maxConvergenceFactor() const
Returns the currently used maximum convergence factor.
void scaleFunctionFactor(double f)
Sets the scale function factor to f.
The namespace for all OGDF objects.
double forceLimitStep() const
void minDistCC(double x)
Sets the minimum distance between connected components to x.
int iterationsImprove() const
Returns the current setting of iterations for the improvement phase.
SpringForceModel m_forceModel
void noise(bool on)
Sets the parameter noise to on.
Declaration of SpringForceModel enumeration.
void forceModelImprove(SpringForceModel fm)
Sets the used force model for the improvement step to fm.
unsigned int m_maxThreads
The maximal number of used threads.
double m_minDistCC
The minimal distance between connected components.
Declaration and implementation of class Array2D which implements dynamic two dimensional arrays...