18 virtual GenotypeP getInput() = 0;
24 virtual bool initialize() =0;
28 virtual bool nextTrial() = 0;
31 virtual bool reset() = 0;
33 virtual bool isOver() {
return true; };
39 virtual FitnessP
evaluate (IndividualP ind) =0;
44 virtual bool isExploit() {
return false; };
47 bool checkState(
const StateP state) {
return true; };
50typedef boost::shared_ptr<Environment> EnvironmentP;
Environment for the XCS algorithm.
virtual FitnessP evaluate(IndividualP ind)=0
Evaluate a single individual. Method must create and return a Fitness object.