public void countFitness() {
		this.fitnessArr = new ArrayList<Double>();
		
		for (int i = 0; i < population.size(); i++) {
			this.fitnessArr.add(this.population.get(i).getFitness());
			
			if (this.bestFitOnGeneration < this.population.get(i).getFitness()) {
				
				this.bestFitOnGeneration = this.population.get(i).getFitness();
				this.bestBinsCount = this.population.get(i).countBins();
				
			}

		}
	}