Click or drag to resize
Accord.NET (logo)

RulebaseAddRule Method

Adds a fuzzy rule to the database.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public void AddRule(
	Rule rule
)
Request Example View Source

Parameters

rule
Type: Accord.FuzzyRule
A fuzzy Rule to add to the database.
Exceptions
ExceptionCondition
NullReferenceExceptionThe fuzzy rule was not initialized.
ArgumentExceptionThe fuzzy rule name already exists in the rulebase.
See Also