TFitness |
|||||
List of ancestors: TObj | |||||
Description & Idea | Warnings | Methods | Atributes | Operators | Specials |
Files: fitness.h |
Description & Idea Fitness value evaluation. Constructor stores expression in expression stack (class TExprStack) and method Calculate(TGen) calculates it.
Warnings
Atributes private:
TExprStack postfix - expression stack TGenCode * codec - points to the actual specification to gene codec TFit maxvalue - maximal fitness function value TFit minvalue - minimal fitness function value STR * Name - array of names of named constants double * num - array of values of named constants TConMem **con - array of named constants objects int countcon - number of named constant char * NNName - name of neural network int NNInputs - number of neural network inputs TNeuNet *net - pointer to the neural network object double * NNval - array for inputs prepared for neural network evaluation TFit Point - double a - double -
Operators
Specials