private void runGA() {
        int generation = 1;
        while (generation<=this.generations) {
            System.out.println("Generation "+generation);
            population.evaluate(fitnessFunction);
            T populationFittest = population.getFittestIndividual();
            if (generation == 1)
                fittestIndividual = populationFittest; 
            else if (populationFittest.getFitness() > fittestIndividual.getFitness()) {
            	fittestIndividual = populationFittest;
            }
            population.nextGeneration();
            generation++;
        }
    }