Adds a linguistic variable to the database.

Namespace:  AForge.Fuzzy
Assembly:  AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public void AddVariable(
	LinguisticVariable variable
)

Parameters

variable
Type: AForge.Fuzzy..::.LinguisticVariable
A linguistic variable to add.

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionThe linguistic variable was not initialized.
System..::.ArgumentExceptionThe linguistic variable name already exists in the database.

See Also