#include <GLGaStopperNoNew.h>
Public Member Functions | |
GLGaStopperNoNew (int max_no_new=10) | |
virtual | ~GLGaStopperNoNew () |
bool | stop (const GLBaseGaStatus *ga_status) |
Definition at line 9 of file GLGaStopperNoNew.h.
GLGaStopperNoNew::GLGaStopperNoNew | ( | int | max_no_new = 10 |
) |
Constructor.
max_no_new | maximum number of generations without new organisms added to population before this stopper will be triggered. |
Definition at line 12 of file GLGaStopperNoNew.cpp.
virtual GLGaStopperNoNew::~GLGaStopperNoNew | ( | ) | [inline, virtual] |
Simple destructor to kill everything.
Definition at line 22 of file GLGaStopperNoNew.h.
bool GLGaStopperNoNew::stop | ( | const GLBaseGaStatus * | ga_status | ) | [virtual] |
Method which determines whether it is time to stop a GA based on its status.
ga_status | current status of the ga (should point to the exemplar of GLGaStatusStandard class). |
Implements GLBaseGaStopper.
Definition at line 24 of file GLGaStopperNoNew.cpp.