コード例 #1
0
        public string EvaluateOnCurve(OutputQuery query, float desiredChallenge, float time)
        {
            float difficulty = m_curve.EvaluateExpression(desiredChallenge, time);

            return(query.CalculateOptimalSelection(difficulty, m_profile));
        }
コード例 #2
0
        public string[] EvaluateGroupSelectionOnCurve(OutputQuery query, float desiredChallenge, int count, float time)
        {
            float difficulty = m_curve.EvaluateExpression(desiredChallenge, time);

            return(query.GetGroupBinding(difficulty, m_profile.GetAllValues(), count));
        }
コード例 #3
0
 public string Evaluate(OutputQuery query, float desiredChallenge)
 {
     return(query.CalculateOptimalSelection(desiredChallenge, m_profile));
 }
コード例 #4
0
 public string[] EvaluateGroupSelection(OutputQuery query, float desiredChallenge, int count)
 {
     return(query.GetGroupBinding(desiredChallenge, m_profile.GetAllValues(), count));
 }