#include <incop.h>
Inheritance diagram for SimulatedAnnealing:
Public Member Functions | |
SimulatedAnnealing (double initialtemperature, int walklength) | |
int | acceptance (Move *move, Configuration *config) |
void | executebeforemove (Move *move, Configuration *configuration, OpProblem *problem) |
void | reinit (OpProblem *problem) |
void | adjustparameter (int parameter) |
Public Attributes | |
double | inittemperature |
double | delta |
double | temperature |
int | walklength |
|
Constructor : 2 parameters : initial temperature and walk length : the fixed temperature decrement is computed. |
|
Acceptance function of the temperature : classical simulated annealing formula for accepting a bad move : probability = exp (-temperature/evaluationdelta) Reimplemented from Metaheuristic. |
|
the temperature is lowered by delta Reimplemented from Metaheuristic. |
|
initialization of the meteheuristic data at the beginning of a local search Reimplemented from Metaheuristic. |
|
constant step for lowering the temperature |
|
initial temperature |
|
current temperature |