Class BoltzTemperatureFunction
- java.lang.Object
-
- dev.nm.solver.multivariate.unconstrained.annealing.temperaturefunction.SimpleTemperatureFunction
-
- dev.nm.solver.multivariate.unconstrained.annealing.temperaturefunction.BoltzTemperatureFunction
-
- All Implemented Interfaces:
TemperatureFunction
public class BoltzTemperatureFunction extends SimpleTemperatureFunction
\(T_k = T_0 / ln(k)\).
-
-
Constructor Summary
Constructors Constructor Description BoltzTemperatureFunction(double initialTemperature)
Constructs a new instance with an initial temperature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
temperature(int k)
Gets the temperature at time t.-
Methods inherited from class dev.nm.solver.multivariate.unconstrained.annealing.temperaturefunction.SimpleTemperatureFunction
acceptanceTemperature, visitingTemperature
-
-
-
-
Method Detail
-
temperature
public double temperature(int k)
Description copied from class:SimpleTemperatureFunction
Gets the temperature at time t.- Specified by:
temperature
in classSimpleTemperatureFunction
- Parameters:
k
- the time at which to get a temperature, or the annealing parameter, same as the iteration number until reannealing- Returns:
- the temperature at time t
-
-