Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::Evaluable Class Reference
[Genetic Algorithms]

#include <GenerationalEvolution.h>

Inheritance diagram for Teem::Evaluable:

Teem::Setupable List of all members.

Detailed Description

Interface to a class that implements a fitness function.

Experiment classes for generational evolution typically derive from Evaluable.

Public Types

 < Type of evaluation More...

Public Member Functions

virtual ~Evaluable ()
 Virtual destructor.
virtual void compute (GenotypeDecoders &decoders, GenerationalPopulation &individuals, unsigned gen, unsigned ind, EvaluationMode mode)=0
 Compute the fitness of the individual (or population).

Member Enumeration Documentation

enum Teem::Evaluable::EvaluationMode

< Type of evaluation

Enumeration values:
MODE_EVOLUTION  running an evolution (do typically less logs for optimization)
MODE_TEST_INDIVIDUAL  testing an individual (do typically more logs for inspection)

The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:38:27 2005 for Teem by  doxygen 1.4.2