Random rng = RandomUtils.getRandom();
// Set-up evolution pipeline (cross-over followed by mutation).
List<EvolutionaryOperator<List<String>>> operators = new ArrayList<EvolutionaryOperator<List<String>>>(2);
if (crossover) {
operators.add(new ListOrderCrossover());
}
if (mutation) {
operators.add(new ListOrderMutation(new PoissonGenerator(1.5, rng),
new PoissonGenerator(1.5, rng)));
}