ECF 1.7
FitnessMin.h
1#ifndef FITNESSMIN_H_
2#define FITNESSMIN_H_
3
4#include "Fitness.h"
5
12class FitnessMin: public Fitness {
13public:
14 FitnessMin() {}
15
16 bool isBetterThan(FitnessP other);
17 void write(XMLNode&);
18 FitnessMin* copy();
19};
20typedef std::shared_ptr<FitnessMin> FitnessMinP;
21
22#endif /* FITNESSMIN_H_ */
23
void write(XMLNode &)
Write fitness object to XMLNode.
FitnessMin * copy()
object copy (for duplication of an individual)
bool isBetterThan(FitnessP other)
Mandatory comparison operator.
Definition FitnessMin.cpp:6