Click or drag to resize
Accord.NET (logo)

DatabaseAddVariable Method

Adds a linguistic variable to the database.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public void AddVariable(
	LinguisticVariable variable
)
Request Example View Source

Parameters

variable
Type: Accord.FuzzyLinguisticVariable
A linguistic variable to add.
Exceptions
ExceptionCondition
NullReferenceExceptionThe linguistic variable was not initialized.
ArgumentExceptionThe linguistic variable name already exists in the database.
See Also