コード例 #1
0
ファイル: Fitness.cs プロジェクト: erfanial/TrustPrediction
        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);
        }
コード例 #2
0
 public static float fitness(float[,] groundTruth, float[] userTrusts, UserUpdate[,,] updates, FitnessParameter fitnessParams)
 {
     return(Experiment.execute(groundTruth, userTrusts, updates, fitnessParams));
 }