public abstract class SimpleTemperatureFunction extends Object implements TemperatureFunction
Constructor and Description |
---|
SimpleTemperatureFunction() |
Modifier and Type | Method and Description |
---|---|
double |
acceptanceTemperature(int t)
Gets the acceptance temperature \(T^A_t\) at time t.
|
abstract double |
temperature(int t)
Gets the temperature at time t.
|
double |
visitingTemperature(int t)
Gets the visiting temperature \(T^V_t\) at time t.
|
public final double visitingTemperature(int t)
TemperatureFunction
visitingTemperature
in interface TemperatureFunction
t
- the time at which to get a temperature, or the annealing parameter, same as the
iteration number until reannealingpublic final double acceptanceTemperature(int t)
TemperatureFunction
acceptanceTemperature
in interface TemperatureFunction
t
- the time at which to get a temperature, or the annealing parameter, same as the
iteration number until reannealingpublic abstract double temperature(int t)
t
- 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.