// now create the required nodes. First sort them into order
Collections.sort(selectedNeurons);
// finally, create the genome
final NEATGenomeFactory factory = (NEATGenomeFactory) this.owner
.getPopulation().getGenomeFactory();
final NEATGenome babyGenome = factory.factor(selectedNeurons,
selectedLinks, mom.getInputCount(), mom.getOutputCount());
babyGenome.setBirthGeneration(this.owner.getIteration());
babyGenome.setPopulation(this.owner.getPopulation());
babyGenome.sortGenes();