Initializes a new instance of the Rule class.

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

Syntax

C#
public Rule(
	Database fuzzyDatabase,
	string name,
	string rule,
	INorm normOperator,
	ICoNorm coNormOperator
)

Parameters

fuzzyDatabase
Type: AForge.Fuzzy..::.Database
A fuzzy Database containig the linguistic variables (see LinguisticVariable) that will be used in the Rule.
name
Type: System..::.String
Name of this Rule.
rule
Type: System..::.String
A string representing the Rule. It must be a "IF..THEN" statement. For a more detailed description see Rule class.
normOperator
Type: AForge.Fuzzy..::.INorm
A class that implements a INorm interface to evaluate the AND operations of the Rule.
coNormOperator
Type: AForge.Fuzzy..::.ICoNorm
A class that implements a ICoNorm interface to evaluate the OR operations of the Rule.

See Also