Extended functionality of localsearch.TreePopulation.