Module org.jgrapht.core
Package org.jgrapht.alg.drawing
Interface FRLayoutAlgorithm2D.TemperatureModel
- All Known Implementing Classes:
FRLayoutAlgorithm2D.InverseLinearTemperatureModel
- Enclosing class:
- FRLayoutAlgorithm2D<V,
E>
public static interface FRLayoutAlgorithm2D.TemperatureModel
A general interface for a temperature model.
The temperature should start from a high enough value and gradually become zero.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
temperature
(int iteration, int maxIterations) Return the temperature for the new iteration
-
Method Details
-
temperature
double temperature(int iteration, int maxIterations) Return the temperature for the new iteration- Parameters:
iteration
- the next iterationmaxIterations
- total number of iterations- Returns:
- the temperature for the next iteration
-