ECF 1.5
LexiCaseFitnessMin.h
1#ifndef LEXIFITNESSMIN_H_
2#define LEXIFITNESSMIN_H_
3
4#include "Fitness.h"
5
12class LexiCaseFitnessMin: public Fitness {
13public:
15
16 bool isBetterThan(FitnessP other, uint index = 0);
17 void write(XMLNode&);
19
20 double getValue()
21 { // izracunati zbroj apsolutnih vrijednosti svih elemenata vektora
22 }
23
24 std::vector<double> vektor;
25};
26typedef boost::shared_ptr<LexiCaseFitnessMin> LexiCaseFitnessMinP;
27
28#endif /* FITNESSMIN_H_ */
29
Fitness base class.
Definition: Fitness.h:16
Fitness for minimization problems.
void write(XMLNode &)
Write fitness object to XMLNode.
LexiCaseFitnessMin * copy()
object copy (for duplication of an individual)
double getValue()
Return fitness value.