public float calculate() { Experiment exp = new Experiment(_researchData, new SimOptions(1, _fitnessParams.var1, _fitnessParams.var2, _fitnessParams.var3, _fitnessParams.var4, _fitnessParams.var5)); PredictionPerformances performance = exp.execute(); return(performance.occupancyPerformance); }
public static float fitness(float[,] groundTruth, float[] userTrusts, UserUpdate[,,] updates, FitnessParameter fitnessParams) { return(Experiment.execute(groundTruth, userTrusts, updates, fitnessParams)); }