Interface TemperatureFunction
-
- All Known Implementing Classes:
BoltzTemperatureFunction
,ExpTemperatureFunction
,FastTemperatureFunction
,GSATemperatureFunction
,SimpleTemperatureFunction
public interface TemperatureFunction
A temperature function defines a temperature schedule used in simulated annealing. In general, the temperature for the visiting distribution (proposal generation) may not be equal to the temperature for determining the acceptance probability.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
acceptanceTemperature(int t)
Gets the acceptance temperature \(T^A_t\) at time t.double
visitingTemperature(int t)
Gets the visiting temperature \(T^V_t\) at time t.
-
-
-
Method Detail
-
visitingTemperature
double visitingTemperature(int t)
Gets the visiting temperature \(T^V_t\) at time t.- Parameters:
t
- the time at which to get a temperature, or the annealing parameter, same as the iteration number until reannealing- Returns:
- the visiting temperature at time t
-
acceptanceTemperature
double acceptanceTemperature(int t)
Gets the acceptance temperature \(T^A_t\) at time t.- Parameters:
t
- the time at which to get a temperature, or the annealing parameter, same as the iteration number until reannealing- Returns:
- the acceptance temperature at time t
-
-