Esempio n. 1
0
 public static List <double> GetCurrectParametersForHelperLearning(LastMatch LM)
 {
     return(new List <double>()
     {
         // Total
         HelpFunctions.SigmaFunction(LM.Score_A + LM.Score_B),
         // Save A
         (LM.shot_on_target_B == 0)? 1 : LM.save_A / LM.shot_on_target_B,
         // Save B
         (LM.shot_on_target_A == 0)? 1 : LM.save_B / LM.shot_on_target_A,
         // Нарушения А
         HelpFunctions.SigmaFunction(LM.Violations_A),
         // Нарушения В
         HelpFunctions.SigmaFunction(LM.Violations_B),
         // Shot A
         HelpFunctions.SigmaFunction(LM.shot_on_target_A),
         // Shot B
         HelpFunctions.SigmaFunction(LM.shot_on_target_B),
     });
 }
Esempio n. 2
0
 public static double GetPerfectValue(int correctScorePoints)
 {
     return(HelpFunctions.SigmaFunction(correctScorePoints));
 }