Adds a linguistic variable to the database.
Namespace:
AForge.FuzzyAssembly: 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
| Exception | Condition |
|---|---|
| System..::.NullReferenceException | The linguistic variable was not initialized. |
| System..::.ArgumentException | The linguistic variable name already exists in the database. |