public class Rulebase
extends java.lang.Object
| Constructor and Description |
|---|
Rulebase()
Initializes a new instance of the Rulebase class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule)
Adds a fuzzy rule to the database.
|
void |
clearRules()
Removes all the fuzzy rules of the database.
|
Rule |
getRule(java.lang.String ruleName)
Get an existing fuzzy rule from the rulebase.
|
Rule[] |
getRules()
Gets all the rules of the rulebase.
|
public void addRule(Rule rule)
rule - >A fuzzy Rule to add to the database.public void clearRules()
public Rule getRule(java.lang.String ruleName)
ruleName - Name of the fuzzy Rule to retrieve.public Rule[] getRules()