示例#1
0
  public int produce(
      final int min,
      final int max,
      final int start,
      final int subpopulation,
      final Individual[] inds,
      final EvolutionState state,
      final int thread) {

    return selects[BreedingSource.pickRandom(selects, state.random[thread].nextFloat())].produce(
        min, max, start, subpopulation, inds, state, thread);
  }
示例#2
0
 public int produce(final int subpopulation, final EvolutionState state, final int thread) {
   return selects[BreedingSource.pickRandom(selects, state.random[thread].nextFloat())].produce(
       subpopulation, state, thread);
 }