Accord.Fuzzy.InferenceSystem.Evaluate C# (CSharp) Method

Evaluate() public method

Executes the fuzzy inference, obtaining a numerical output for a choosen output linguistic variable.
The variable indicated was not found in the database.
public Evaluate ( string variableName ) : float
variableName string Name of the to evaluate.
return float
        public float Evaluate(string variableName)
        {
            // call the defuzzification on fuzzy output 
            FuzzyOutput fuzzyOutput = ExecuteInference(variableName);
            float res = defuzzifier.Defuzzify(fuzzyOutput, normOperator);
            return res;
        }