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

SetInput() public method

Sets a numerical input for one of the linguistic variables of the Database.
The variable indicated in /// was not found in the database.
public SetInput ( string variableName, float value ) : void
variableName string Name of the .
value float Numeric value to be used as input.
return void
        public void SetInput(string variableName, float value)
        {
            this.database.GetVariable(variableName).NumericInput = value;
        }