bugfix (in synch with mk branch)
This commit is contained in:
parent
d6f2ec1ad1
commit
3526a78f57
@ -159,10 +159,11 @@ public class ClusteringHillClimbing implements InterfacePopulationChangedEventLi
|
|||||||
archive.addPopulation(m_Population);
|
archive.addPopulation(m_Population);
|
||||||
|
|
||||||
Population tmpPop = new Population();
|
Population tmpPop = new Population();
|
||||||
tmpPop.setSameParams(m_Population);
|
|
||||||
tmpPop.addPopulationChangedEventListener(null);
|
tmpPop.addPopulationChangedEventListener(null);
|
||||||
tmpPop.setPopulationSize(initialPopSize);
|
tmpPop.setPopulationSize(initialPopSize);
|
||||||
this.m_Problem.initPopulation(tmpPop);
|
this.m_Problem.initPopulation(tmpPop);
|
||||||
|
tmpPop.setSameParams(m_Population);
|
||||||
|
tmpPop.setPopulationSize(initialPopSize);
|
||||||
this.m_Problem.evaluate(tmpPop);
|
this.m_Problem.evaluate(tmpPop);
|
||||||
|
|
||||||
// reset population while keeping function calls etc.
|
// reset population while keeping function calls etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user