private void calcStatistics()
	{
		double max = Double.MIN_VALUE;
		double min = Double.MAX_VALUE;
		double ave = 0.0;

		for(int i = 0; i < this.generation.length; i++) 
		{
			max = (max < this.generation[i].getFitness()) ? this.generation[i].getFitness() : max;
			min = (min > this.generation[i].getFitness()) ? this.generation[i].getFitness() : min;
			ave += this.generation[i].getFitness();
		}

		this.mostFit = max;
		this.leastFit = min;
		this.populationFitness = (ave / (double) this.generation.length);
	}