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