EvolvingObjects
eoAssembledFitnessAverageStat< EOT > Class Template Reference

Average fitness values of a population, where the fitness is of type eoScalarAssembledFitness. More...

#include <eoAssembledFitnessStat.h>

Inheritance diagram for eoAssembledFitnessAverageStat< EOT >:
eoStat< EOT, double > eoValueParam< double > eoStatBase< EOT > eoParam eoUF< const eoPop< EOT > &, void > eoFunctorBase unary_function

List of all members.

Public Types

typedef EOT::Fitness Fitness

Public Member Functions

 eoAssembledFitnessAverageStat (unsigned _whichTerm=0, std::string _description="Average Fitness")
virtual void operator() (const eoPop< EOT > &_pop)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

unsigned whichFitnessTerm

Detailed Description

template<class EOT>
class eoAssembledFitnessAverageStat< EOT >

Average fitness values of a population, where the fitness is of type eoScalarAssembledFitness.

Specify in the constructor, for which fitness term (index) the average should be evaluated. Only values of object where the failed boolean = false is set are counted.

Definition at line 50 of file eoAssembledFitnessStat.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends