public List < Biomorph > apply ( List < Biomorph > selectedCandidates , Random rng ) { List < Biomorph > mutatedPopulation = new ArrayList < Biomorph > ( selectedCandidates . size ( ) ) ; for ( Biomorph biomorph : selectedCandidates ) { mutatedPopulation . add ( mutateBiomorph ( biomorph , rng ) ) ; } return mutatedPopulation ; }
Randomly mutate each selected candidate .