Adds a fuzzy rule 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 AddRule(
	Rule rule
)

Parameters

rule
Type: AForge.Fuzzy..::.Rule
A fuzzy Rule to add to the database.

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionThe fuzzy rule was not initialized.
System..::.ArgumentExceptionThe fuzzy rule name already exists in the rulebase.

See Also