From fa675dd55e12606e4742fc858b011e3fe1f42cea Mon Sep 17 00:00:00 2001 From: cahon Date: Tue, 17 Sep 2002 07:08:51 +0000 Subject: [PATCH] Allowing a first eval. of the pop. to be performed by the E.A. --- eo/src/eoEasyEA.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eo/src/eoEasyEA.h b/eo/src/eoEasyEA.h index 27304b1d..e4cba578 100644 --- a/eo/src/eoEasyEA.h +++ b/eo/src/eoEasyEA.h @@ -172,7 +172,8 @@ template class eoEasyEA: public eoAlgo /// Apply a few generation of evolution to the population. virtual void operator()(eoPop& _pop) { - eoPop offspring; + eoPop offspring, empty_pop; + popEval(empty_pop, _pop); // A first eval of pop. do { try