#include <lemon/simann.h>
Inherits ControllerBase.
Inheritance diagram for AdvancedController:
Public Member Functions | |
AdvancedController (double _end_time, double _alpha=0.2, double _beta=0.9, double _gamma=1.6, double _ann_fact=0.9999) | |
Constructor. | |
void | acceptEvent () |
This is called when a neighbouring state gets accepted. | |
bool | next () |
Decides whether to continue the annealing process or not. | |
bool | accept () |
Decides whether to accept the current solution or not. | |
Public Attributes | |
double | end_time |
The time at the end of the algorithm. | |
double | start_time |
The time at the start of the algorithm. | |
double | start_threshold |
Starting threshold. | |
double | avg_cost |
Average cost of recent solutions. | |
double | temp |
Temperature. | |
double | ann_fact |
Annealing factor. | |
double | init_ann_fact |
Initial annealing factor. |
|
|