12 #ifndef MLPACK_CORE_OPTIMIZERS_SA_EXPONENTIAL_SCHEDULE_HPP 13 #define MLPACK_CORE_OPTIMIZERS_SA_EXPONENTIAL_SCHEDULE_HPP 16 namespace optimization {
50 const double currentTemperature,
53 return (1 -
lambda) * currentTemperature;
Linear algebra utility functions, generally performed on matrices or vectors.
double NextTemperature(const double currentTemperature, const double)
Returns the next temperature given current status.
double Lambda() const
Get the cooling speed, lambda.
double lambda
The cooling speed.
The exponential cooling schedule cools the temperature T at every step according to the equation...
ExponentialSchedule(const double lambda=0.001)
double & Lambda()
Modify the cooling speed, lambda.