GLGaStopperNoNew Class Reference

#include <GLGaStopperNoNew.h>

Inheritance diagram for GLGaStopperNoNew:

GLBaseGaStopper

List of all members.

Public Member Functions

 GLGaStopperNoNew (int max_no_new=10)
virtual ~GLGaStopperNoNew ()
bool stop (const GLBaseGaStatus *ga_status)


Detailed Description

Stopper which works when the population was not updated for a few generations. Requires pointer to GLGaStopperStandard.

Definition at line 9 of file GLGaStopperNoNew.h.


Constructor & Destructor Documentation

GLGaStopperNoNew::GLGaStopperNoNew ( int  max_no_new = 10  ) 

Constructor.

Parameters:
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.


Member Function Documentation

bool GLGaStopperNoNew::stop ( const GLBaseGaStatus ga_status  )  [virtual]

Method which determines whether it is time to stop a GA based on its status.

Parameters:
ga_status current status of the ga (should point to the exemplar of GLGaStatusStandard class).
Returns:
true when GA should stop.

Implements GLBaseGaStopper.

Definition at line 24 of file GLGaStopperNoNew.cpp.


The documentation for this class was generated from the following files:

Generated on Sat Jun 13 13:58:09 2009 for GenLib by  doxygen 1.5.9