public class Rule
extends java.lang.Object
| Constructor and Description |
|---|
Rule(Database fuzzyDatabase,
java.lang.String name,
java.lang.String rule)
Initializes a new instance of the
|
Rule(Database fuzzyDatabase,
java.lang.String name,
java.lang.String rule,
INorm normOperator,
ICoNorm coNormOperator)
Initializes a new instance of the
|
| Modifier and Type | Method and Description |
|---|---|
float |
EvaluateFiringStrength()
Evaluates the firing strength of the Rule, the degree of confidence that the consequent of this Rule must be executed.
|
java.lang.String |
getName()
The name of the fuzzy rule.
|
Clause |
getOutput()
The fuzzy Clause that represents the consequent of the Rule.
|
java.lang.String |
GetRPNExpression()
Converts the RPN fuzzy expression into a string representation.
|
void |
setName(java.lang.String name)
The name of the fuzzy rule.
|
public Rule(Database fuzzyDatabase, java.lang.String name, java.lang.String rule, INorm normOperator, ICoNorm coNormOperator)
fuzzyDatabase - A fuzzy name - Name of this rule - A string representing the normOperator - A class that implements a coNormOperator - A class that implements a public Rule(Database fuzzyDatabase, java.lang.String name, java.lang.String rule)
fuzzyDatabase - A fuzzy name - Name of this rule - A string representing the public java.lang.String getName()
public void setName(java.lang.String name)
name - Name.public Clause getOutput()
Clause.,
Rule.public java.lang.String GetRPNExpression()
public float EvaluateFiringStrength()