toulbar2
|
Public Member Functions | |
ThresholdAccepting (double maxthreshold, int walklength) | |
int | acceptance (Move *move, Configuration *config) |
void | executebeforemove (Move *move, Configuration *configuration, OpProblem *problem) |
void | reinit (OpProblem *problem) |
Public Attributes | |
double | thresholdinit |
double | delta |
double | thresholdaccept |
Threshold accepting Metaheuristics : a move must no deteriorate the evaluation more than the current threshod : the threshold goes down linearly from thresholdinit to 0
ThresholdAccepting::ThresholdAccepting | ( | double | maxthreshold, |
int | walklength | ||
) |
constructor : two arguments : maxthreshold the initial threshold and walklength , it computes a constant step for lowering the threshold
|
virtual |
acceptance condition : being under or at the threshold
Reimplemented from Metaheuristic.
References Configuration::valuation.
|
virtual |
the threshold is lowered by delta
Reimplemented from Metaheuristic.
|
virtual |
the threshold is initialized at thresholdinit
Reimplemented from Metaheuristic.
double ThresholdAccepting::delta |
constant step to lower the threshold
double ThresholdAccepting::thresholdaccept |
current value of the threshold
double ThresholdAccepting::thresholdinit |
initial threshold