#include <GLBaseGaStopper.h>
Public Member Functions | |
GLBaseGaStopper () | |
virtual | ~GLBaseGaStopper () |
virtual bool | stop (const GLBaseGaStatus *ga_status)=0 |
Definition at line 9 of file GLBaseGaStopper.h.
GLBaseGaStopper::GLBaseGaStopper | ( | ) | [inline] |
Simple constructor.
Definition at line 15 of file GLBaseGaStopper.h.
virtual GLBaseGaStopper::~GLBaseGaStopper | ( | ) | [inline, virtual] |
Simple destructor.
Definition at line 20 of file GLBaseGaStopper.h.
virtual bool GLBaseGaStopper::stop | ( | const GLBaseGaStatus * | ga_status | ) | [pure virtual] |
Method which determines whether it is time to stop a GA based on its status.
ga_status | current status of the ga. |
Implemented in GLGaStopperMaxGenerations, and GLGaStopperNoNew.