mlpack
master
|
The exponential cooling schedule cools the temperature T at every step according to the equation. More...
Public Member Functions | |
ExponentialSchedule (const double lambda=0.001) | |
double | Lambda () const |
Get the cooling speed, lambda. More... | |
double & | Lambda () |
Modify the cooling speed, lambda. More... | |
double | NextTemperature (const double currentTemperature, const double) |
Returns the next temperature given current status. More... | |
Private Attributes | |
double | lambda |
The cooling speed. More... | |
The exponential cooling schedule cools the temperature T at every step according to the equation.
where is the cooling speed. The smaller
is, the slower the cooling speed, and better the final result will be. Some literature uses
instead. In practice,
is very close to 1 and will be awkward to input (e.g. alpha = 0.999999 vs lambda = 1e-6).
Definition at line 32 of file exponential_schedule.hpp.
|
inline |
Definition at line 40 of file exponential_schedule.hpp.
|
inline |
Get the cooling speed, lambda.
Definition at line 57 of file exponential_schedule.hpp.
References lambda.
|
inline |
Modify the cooling speed, lambda.
Definition at line 59 of file exponential_schedule.hpp.
References lambda.
|
inline |
Returns the next temperature given current status.
The current system's energy is not used in this calculation.
currentTemperature | Current temperature of system. |
currentEnergy | Current energy of system (not used). |
Definition at line 49 of file exponential_schedule.hpp.
References lambda.
|
private |
The cooling speed.
Definition at line 63 of file exponential_schedule.hpp.
Referenced by Lambda(), and NextTemperature().