Adds a fuzzy rule 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 AddRule( Rule rule ) |
Parameters
- rule
- Type: AForge.Fuzzy..::.Rule
A fuzzy Rule to add to the database.
Exceptions
| Exception | Condition |
|---|---|
| System..::.NullReferenceException | The fuzzy rule was not initialized. |
| System..::.ArgumentException | The fuzzy rule name already exists in the rulebase. |