|
Public Member Functions |
|
virtual void | init () |
| | Initializes the controller.
|
|
virtual void | acceptEvent () |
| | This is called by the simulated annealing class when a neighbouring state gets accepted.
|
|
virtual void | improveEvent () |
| | This is called by the simulated annealing class when the accepted neighbouring state's cost is less than the best found one's.
|
|
virtual void | rejectEvent () |
| | This is called by the simulated annealing class when a neighbouring state gets rejected.
|
|
virtual bool | next ()=0 |
| | Decides whether to continue the annealing process or not.
|
|
virtual bool | accept ()=0 |
| | Decides whether to accept the current solution or not.
|
|
virtual | ~ControllerBase () |
| | Destructor.
|
Public Attributes |
|
SimAnnBase * | simann |
| | Pointer to the simulated annealing base class.
|