Example #1
0
 /** Constructor: Create a crossover operator with the given selection parent strategy */
 public ArityTwo(Environment _environment, Selection _selection) {
   super(_environment);
   selection = _selection;
   if (selection != null) {
     selection.setSize(2);
   }
 }