|
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
)
Public Sub New (
fuzzyDatabase As Database,
name As String,
rule As String,
normOperator As INorm,
coNormOperator As ICoNorm
)
Request Example
View SourceParameters
- 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