256257258259260261262263264265266
// show it if better than what we had before notifyOfChange(p); ThreadUtil.sleep(500); } } return bestFitness.copy(); } private void printPopulation(List population) { printPopulation(population, population.size()); }