Пример #1
0
 public Crossover(AlgorithmProperties properties, GenotypeHelper helper) {
   this.properties = properties;
   this.helper = helper;
   this.random = properties.getRandom();
   this.MIN_SIZE = properties.getThreadPopulationMinSize();
   this.MAX_SIZE = properties.getThreadPopulationMaxSize();
   this.AVG_SIZE = (MIN_SIZE + MAX_SIZE) / 2;
 }