public void Reproduction()
 {
     chromoGens = Crossover.doCrossover(crossoverType, chromoGens, probabilityCrossover, random);
     //chromoGens = Mutation.doMutation(1, chromoGens, probabilityMutation, random);
     chromoValue   = Chromossome.getPopulationValues(chromoGens, rangeMin, rangeMax, granularity, random);
     chromoFitness = Chromossome.getPopulationFitness(functionType, optimizationType, chromoValue);
 }
 public void StartsPopulation()
 {
     chromoGens.Clear();
     chromoGens    = Chromossome.Creates(populationSize, rangeMin, rangeMax, granularity, random);
     chromoValue   = Chromossome.getPopulationValues(chromoGens, rangeMin, rangeMax, granularity, random);
     chromoFitness = Chromossome.getPopulationFitness(functionType, optimizationType, chromoValue);
 }
 public void SelectParents()
 {
     chromoGens    = Selection.doSelection(selectionType, chromoGens, chromoFitness, random);
     chromoValue   = Chromossome.getPopulationValues(chromoGens, rangeMin, rangeMax, granularity, random);
     chromoFitness = Chromossome.getPopulationFitness(functionType, optimizationType, chromoValue);
 }