#include <lemon/simann.h>
Public Member Functions | |
SimAnn () | |
Constructor. | |
virtual | ~SimAnn () |
Destructor. | |
double | mutate () |
Step to a neighbouring state. | |
void | revert () |
Reverts the last mutate(). | |
void | saveAsBest () |
Saves the current solution as the best one. | |
void | setEntity (EntityBase &_ent) |
Sets the current entity. | |
EntityBase * | getBestEntity () |
Returns a copy of the best found entity. | |
Private Member Functions | |
void | init () |
Does initializations before each run. | |
Private Attributes | |
EntityBase * | curr_ent |
Pointer to the current entity. | |
EntityBase * | best_ent |
Pointer to the best entity. |