public void UpdateCurrentFitness(IPopulation population)
        {
            //gets population std dev
            var popFitness = new StatisticalQuantity();

            popFitness.AddRange(population.Select(agent => agent.Fitness.Value));
            population.Fitness.Value = -popFitness.StdDev;
        }
        public void UpdateCurrentFitness(IPopulation population)
        {
            //gets population avg - x*std_dev
            var popFitness = new StatisticalQuantity();

            popFitness.AddRange(population.Select(agent => agent.Fitness.Value));
            population.Fitness.Value = popFitness.Mean - (this._stdDevTimes * popFitness.StdDev);
        }