GEP::Core::Common::FitnessFunctions::FitnessFunction Class Reference

Genotype's fitness is calculated with children of this class. More...

Inheritance diagram for GEP::Core::Common::FitnessFunctions::FitnessFunction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 FitnessFunction (int teachingVariableCasesStartIndex, int teachingVariableCasesEndIndex, int testVariableCasesStartIndex, int testVariableCasesEndIndex, int maxN_CasesOfNaNorInfinityToIgnore)
 Initalizes the given values in the instance.
abstract void SetFitness (Genotype genotype, bool isTest)
 Sets the fitness of the given genotype.

Public Attributes

int _teachingVariableCasesStartIndex
 Indicates from what index teaching / learning cases start.
int _teachingVariableCasesEndIndex
 Indicates the last index of teaching / learning cases.
int _testVariableCasesStartIndex
 Indicates from what index testing cases start.
int _testVariableCasesEndIndex
 Indicates the last index of testing cases.
int _maxN_CasesOfNaNorInfinityToIgnore
 Specifies how many times a fitness function, with different variable cases, can be an invalid number, but still the genotype be considered fit.


Detailed Description

Genotype's fitness is calculated with children of this class.

Definition at line 13 of file FitnessFunction.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo