# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.multivariate.unconstrained.annealing.temperaturefunction

## Interface TemperatureFunction

• ### Method Summary

All Methods
Modifier and Type Method and 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