Returns an existing fuzzy rule from the rulebase.

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

Syntax

C#
public Rule GetRule(
	string ruleName
)

Parameters

ruleName
Type: System..::.String
Name of the fuzzy Rule to retrieve.

Return Value

Reference to named Rule.

Exceptions

ExceptionCondition
System.Collections.Generic..::.KeyNotFoundExceptionThe rule indicated in ruleName was not found in the rulebase.

See Also