public class BoltzTemperatureFunction extends SimpleTemperatureFunction
Constructor and Description |
---|
BoltzTemperatureFunction(double initialTemperature)
Constructs a new instance with an initial temperature.
|
Modifier and Type | Method and Description |
---|---|
double |
temperature(int k)
Gets the temperature at time t.
|
acceptanceTemperature, visitingTemperature
public BoltzTemperatureFunction(double initialTemperature)
initialTemperature
- the initial temperaturepublic double temperature(int k)
SimpleTemperatureFunction
temperature
in class SimpleTemperatureFunction
k
- the time at which to get a temperature, or the annealing parameter, same as the
iteration number until reannealingCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.