In SimpleBreeder, in breedPopChunk, when shouldBreedSubpop(...) is false, it goes wrong --
ArrayOutOfBoundsException. The problem is that it tries to use list.set(...) on an empty arraylist. This kind of implementation made sense with arrays (as in ECJ24), but does not work with lists.
Jorge Gomes jorgemcgomes@gmail.com writes:
Sean suspects that the line
newpop.subpops.get(subpop).individuals.set(ind, state.population.subpops.get(subpop).individuals.get(ind));
should
set
on theputHere
variable instead ofnewpop.subpops
.