1 #ifndef __FITNESS_WSTI_H
2 #define __FITNESS_WSTI_H
12 * Just an example Fitness function.
14 template <typename _Chromosome, typename _Value = double>
15 class FitnessExample : public Fitness<_Chromosome, _Value> {
18 * Chromosome is inherited so you don't have to declare usage of one
20 /* _Chromosome chromosome; */
23 * Example class constructor
25 FitnessExample(_Chromosome& _chromosome)
26 : Fitness<_Chromosome>(_chromosome) {
30 * Some calculations should be passed here...
38 #endif /* __FITNESS_WSTI_H */