EvolvingObjects
eoDualStatSwitch< EOT, EOSTAT > Class Template Reference

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

#include <eoDualFitness.h>

Inheritance diagram for eoDualStatSwitch< EOT, EOSTAT >:
eoStat< EOT, std::string > eoValueParam< std::string > eoStatBase< EOT > eoParam eoUF< const eoPop< EOT > &, void > eoFunctorBase unary_function

List of all members.

Public Member Functions

 eoDualStatSwitch (EOSTAT &stat_feasible, EOSTAT &stat_unfeasible, std::string sep=" ")
virtual void operator() (const eoPop< EOT > &pop)
 The pure virtual function that needs to be implemented by the subclass.

Protected Attributes

EOSTAT & _stat_feasible
EOSTAT & _stat_unfeasible
std::string _sep

Detailed Description

template<class EOT, class EOSTAT>
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.

Definition at line 272 of file eoDualFitness.h.


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