public double[] ratingPopulation(int choice, double[,] data) { double[] ratings = new double[data.GetLength(0)]; switch (choice) { case 1: ratings = Rate.getDeJongRate(data); break; case 2: ratings = Rate.getSchwefelRate(data); break; case 3: ratings = Rate.getSinCosRate(data); break; default: Console.WriteLine(""); break; } return(ratings); }
public double[] ratePopulationSinCos(double[,] data) { return(Rate.getSinCosRate(data)); }
public double[] ratePopulationSchwefel(double[,] data) { return(Rate.getSchwefelRate(data)); }
public double[] ratePopulationDeJong(double[,] data) { return(Rate.getDeJongRate(data)); }
public double[] ratePopulationRastrigin(double[,] data) { return(Rate.getRastriginRate(data)); }