children now have the correct generation counter

This commit is contained in:
Michael de Paly 2009-10-09 16:03:16 +00:00
parent 4ce58888d9
commit f9213d167f

View File

@ -412,7 +412,9 @@ public class DifferentialEvolution implements InterfaceOptimizer, java.io.Serial
children.add(indy);
}
children.setGenerationTo(m_Population.getGeneration());
m_Problem.evaluate(children);
int nextDoomed = getNextDoomed(m_Population, 0);
for (int i = 0; i < this.m_Population.size(); i++) {