EvolvingObjects
Evaluation

Classes

class  eoDualFitness< BaseType, Compare >
 A fitness class that permits to compare feasible and unfeasible individuals and guaranties that a feasible individual will always be better than an unfeasible one. More...
class  eoDualStatSwitch< EOT, EOSTAT >
 Embed two eoStat and call the first one on the feasible individuals and the second one on the unfeasible ones, merge the two resulting value in a string, separated by a given marker. More...
class  eoEvalCounterThrowException< EOT >
class  eoEvalFunc< EOT >
 Evaluate: takes one EO and sets its "fitness" property returning this fitness also. More...
class  eoEvalFuncCounter< EOT >
 Counts the number of evaluations actually performed. More...
class  eoEvalFuncCounterBounderException
 The exception raised by eoEvalFuncCounterBounder when the maximum number of allowed evaluations is reached. More...
class  eoEvalFuncCounterBounder< EOT >
 Counts the number of evaluations actually performed and throw an eoEvalFuncCounterBounderException when the maximum number of allowed evaluations is reached. More...
struct  eoEvalFuncPtr< EOT, FitT, FunctionArg >
 EOEvalFuncPtr: This class takes an existing function pointer and converts it into a evaluation function class. More...
class  eoEvalTimeThrowException< EOT >
 Check at each evaluation if a given tie contract has been reached. More...
class  eoMaxTimeException
class  eoMaxEvalException
class  eoPopEvalFunc< EOT >
 eoPopEvalFunc: This abstract class is for GLOBAL evaluators of a population after variation. More...
class  eoPopLoopEval< EOT >
 eoPopLoopEval: an instance of eoPopEvalFunc that simply applies a private eoEvalFunc to all offspring More...
class  eoTimeVaryingLoopEval< EOT >
 eoPopLoopEval: an instance of eoPopEvalFunc that simply applies a private eoEvalFunc to all offspring AND ALL PARENTS as the fitness is supposed here to vary More...
class  eoScalarFitness< ScalarType, Compare >
 Wraps a scalar fitness values such as a double or int, with the option of maximizing (using less<ScalarType>) or minimizing (using greater<ScalarType>) More...
class  eoScalarFitnessAssembledTraits
 Defines properties of eoScalarFitnessAssembled. More...
class  eoScalarFitnessAssembled< ScalarType, Compare, FitnessTraits >
 Implements fitness as std::vector, storing all values that might occur during fitness assembly. More...

Typedefs

typedef eoDualFitness< double,
std::less< double > > 
eoMaximizingDualFitness
 Compare dual fitnesses as if we were maximizing.
typedef eoDualFitness< double,
std::greater< double > > 
eoMinimizingDualFitness
 Compare dual fitnesses as if we were minimizing.
typedef eoScalarFitness
< double, std::less< double > > 
eoMaximizingFitness
 Typedefs for fitness comparison, Maximizing Fitness compares with less, and minimizing fitness compares with greater.
typedef eoScalarFitness
< double, std::greater< double > > 
eoMinimizingFitness
typedef
eoScalarFitnessAssembled
< double, std::less< double >
, eoScalarFitnessAssembledTraits
eoAssembledMaximizingFitness
 Typedefs for fitness comparison, Maximizing Fitness compares with less, and minimizing fitness compares with greater.
typedef
eoScalarFitnessAssembled
< double, std::greater< double >
, eoScalarFitnessAssembledTraits
eoAssembledMinimizingFitness

Functions

template<class EOT >
bool eoIsFeasible (const EOT &sol)
 A predicate that returns the feasibility of a given dual fitness.
template<class F , class Cmp >
std::ostream & operator<< (std::ostream &os, const eoScalarFitness< F, Cmp > &f)
template<class F , class Cmp >
std::istream & operator>> (std::istream &is, eoScalarFitness< F, Cmp > &f)
template<class F , class Cmp , class FitnessTraits >
std::ostream & operator<< (std::ostream &os, const eoScalarFitnessAssembled< F, Cmp, FitnessTraits > &f)
template<class F , class Cmp , class FitnessTraits >
std::istream & operator>> (std::istream &is, eoScalarFitnessAssembled< F, Cmp, FitnessTraits > &f)

Typedef Documentation

typedef eoScalarFitness<double, std::less<double> > eoMaximizingFitness

Typedefs for fitness comparison, Maximizing Fitness compares with less, and minimizing fitness compares with greater.

This because we want ordinary fitness values (doubles) to be equivalent with Maximizing Fitness, and comparing with less is the default behaviour.

Definition at line 109 of file eoScalarFitness.h.

Typedefs for fitness comparison, Maximizing Fitness compares with less, and minimizing fitness compares with greater.

This because we want ordinary fitness values (doubles) to be equivalent with Maximizing Fitness, and comparing with less is the default behaviour.

Definition at line 253 of file eoScalarFitnessAssembled.h.


Function Documentation

template<class EOT >
bool eoIsFeasible ( const EOT &  sol)

A predicate that returns the feasibility of a given dual fitness.

Use this in STL algorithm that use binary predicates (e.g. count_if, find_if, etc.)

Definition at line 263 of file eoDualFitness.h.

 All Classes Namespaces Files Functions Variables Typedefs Friends