PostSimulationAnalysis.Trial.GetScoreForCondition C# (CSharp) Méthode

GetScoreForCondition() public méthode

public GetScoreForCondition ( int condition ) : double
condition int
Résultat double
        public double GetScoreForCondition(int condition)
        {
            return scoreForEachCondition[condition];
        }

Usage Example

Exemple #1
0
 public int CompareTo(Trial other ,int condition)
 {
     double myScore = GetScoreForCondition(condition);
     double othersScore = other.GetScoreForCondition(condition);
     if (myScore < othersScore)
         return -1;
     if (myScore > othersScore)
         return 1;
     return 0;
 }
All Usage Examples Of PostSimulationAnalysis.Trial::GetScoreForCondition