#include <GLGaStatusStandard.h>
Public Member Functions | |
GLGaStatusStandard () | |
GLGaStatusStandard (const GLGaStatusStandard *source) | |
virtual | ~GLGaStatusStandard () |
virtual GLBaseGaStatus * | copy () const |
virtual ostream & | toStream (ostream &out) const |
Public Attributes | |
vector< const GLBaseOrganism * > | m_best_organisms_in_population |
int | m_generations_since_population_changed |
Definition at line 12 of file GLGaStatusStandard.h.
GLGaStatusStandard::GLGaStatusStandard | ( | ) |
Constructor. Initialises the status with initial data.
Definition at line 12 of file GLGaStatusStandard.cpp.
GLGaStatusStandard::GLGaStatusStandard | ( | const GLGaStatusStandard * | source | ) |
Copying constructor.
source | source of data. |
Definition at line 23 of file GLGaStatusStandard.cpp.
GLGaStatusStandard::~GLGaStatusStandard | ( | ) | [virtual] |
Destructor -- destroys everything.
Definition at line 35 of file GLGaStatusStandard.cpp.
virtual GLBaseGaStatus* GLGaStatusStandard::copy | ( | ) | const [inline, virtual] |
Returns pointer to the copy of the current status.
Reimplemented from GLBaseGaStatus.
Definition at line 34 of file GLGaStatusStandard.h.
ostream & GLGaStatusStandard::toStream | ( | ostream & | out | ) | const [virtual] |
Method for output the status to stream.
out | destination stream. |
Reimplemented from GLBaseGaStatus.
Definition at line 43 of file GLGaStatusStandard.cpp.
vector<const GLBaseOrganism*> GLGaStatusStandard::m_best_organisms_in_population |
best organism(s) in population -- pointers to the population's organisms. Again, they are either organisms(s) with minimal fittness of Pareto front.
Definition at line 47 of file GLGaStatusStandard.h.
number of generations since the last time the population was changed (new organisms appeared there)
Definition at line 50 of file GLGaStatusStandard.h.