Click or drag to resize
Accord.NET (logo)

InferenceSystemSetInput Method

Sets a numerical input for one of the linguistic variables of the Database.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public void SetInput(
	string variableName,
	float value
)
Request Example View Source

Parameters

variableName
Type: SystemString
Name of the LinguisticVariable.
value
Type: SystemSingle
Numeric value to be used as input.
Exceptions
ExceptionCondition
KeyNotFoundExceptionThe variable indicated in variableName was not found in the database.
See Also