Click or drag to resize
Accord.NET (logo)

Rule Constructor (Database, String, String, INorm, ICoNorm)

Initializes a new instance of the Rule class.

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public Rule(
	Database fuzzyDatabase,
	string name,
	string rule,
	INorm normOperator,
	ICoNorm coNormOperator
)
Request Example View Source

Parameters

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