Adding Evolution Strategies:

src/es/eoEsGlobalXover.h and src/es/eoEsLocalXover.h for crossover
src/es/make_XXX_es.h for user-input
test/t-eoEsAll.cpp to test

However, an old bug appeared: className was not const in eoGenOp (and derived classes)
so I had to change that throughtout the hierarchy
This commit is contained in:
evomarc 2001-05-02 10:42:32 +00:00
commit 10064ad967
28 changed files with 471 additions and 180 deletions

View file

@ -67,7 +67,7 @@ class eoOpContainer : public eoGenOp<EOT>
max_to_produce = max(max_to_produce,ops.back()->max_production());
}
virtual string className() = 0;
virtual string className() const = 0;
protected :
@ -122,7 +122,7 @@ class eoSequentialOp : public eoOpContainer<EOT>
while (!_pop.exhausted());
}
}
virtual string className() {return "SequentialOp";}
virtual string className() const {return "SequentialOp";}
private :
@ -148,7 +148,7 @@ class eoProportionalOp : public eoOpContainer<EOT>
catch(eoPopulator<EOT>::OutOfIndividuals&)
{}
}
virtual string className() {return "ProportionalOp";}
virtual string className() const {return "ProportionalOp";}
};