Creates a new Rule and add it to the Rulebase of the InferenceSystem.

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

Syntax

C#
public Rule NewRule(
	string name,
	string rule
)

Parameters

name
Type: System..::.String
Name of the Rule to create.
rule
Type: System..::.String
A string representing the fuzzy rule.

Return Value

The new Rule reference.

See Also