Alternative LCS proposed by Randelman and Grest. More...
#include <simulated-annealing.hh>
Public Member Functions | |
linear_cooling (double delta=0.1) | |
double | operator() (double temp, feasible_solution &) |
The function that updates the SA temperature. | |
Protected Attributes | |
double | decrement_m |
Alternative LCS proposed by Randelman and Grest.
Definition at line 186 of file simulated-annealing.hh.
mets::linear_cooling::linear_cooling | ( | double | delta = 0.1 | ) | [inline] |
Definition at line 190 of file simulated-annealing.hh.
double mets::linear_cooling::operator() | ( | double | temp, |
feasible_solution & | fs | ||
) | [inline, virtual] |
The function that updates the SA temperature.
temp | The actual annealing temperature. |
fs | The current working solution. |
Implements mets::abstract_cooling_schedule.
Definition at line 194 of file simulated-annealing.hh.
double mets::linear_cooling::decrement_m [protected] |
Definition at line 197 of file simulated-annealing.hh.