}
});
// Create a shuffle operator. Use it 1.0 (100%) of the time.
MutateShuffle opp = new MutateShuffle();
train.addOperation(1.0, opp);
// Create a single parent, the genes are set to 1,2,3,4,5.
IntegerArrayGenome[] parents = new IntegerArrayGenome[1];
parents[0] = (IntegerArrayGenome) pop.getGenomeFactory().factor();
for (int i = 1; i <= 5; i++) {