ControllerBase Class Reference

#include <lemon/simann.h>

Inheritance diagram for ControllerBase:

Inheritance graph
[legend]

List of all members.

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

SimAnnBasesimann
 Pointer to the simulated annealing base class.


Generated on Thu Jun 4 04:06:40 2009 for LEMON by  doxygen 1.5.9