|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sazonov.fuzzy.engine.RuleBlock
Class for a block of fuzzy rules
Method Summary | |
void |
executeRules()
Evaluates this block. |
void |
executeRules(java.io.PrintWriter out)
Evaluates this block. |
java.lang.String |
getDescription()
This method is a start (albeit trivial) to move towards JSR94 |
FuzzyState |
getFuzzyState()
|
java.lang.String |
getName()
This method is a start (albeit trivial) to move towards JSR94 |
java.util.List |
getRules()
This method is a start (albeit trivial) to move towards JSR94 |
boolean |
hasRuleFired()
Returns true if any rule in the block has fired during a call to evaluateBlock() or evaluateBlockText(). |
void |
setDescription(java.lang.String description)
Set description |
void |
setName(java.lang.String name)
Set its name |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public FuzzyState getFuzzyState()
public void executeRules() throws EvaluationException
EvaluationException
public void executeRules(java.io.PrintWriter out) throws EvaluationException
out
- is the writer to write a "list" of rule fireings, it can be null
EvaluationException
public boolean hasRuleFired()
public java.util.List getRules()
public java.lang.String getName()
public java.lang.String getDescription()
public void setName(java.lang.String name)
public void setDescription(java.lang.String description)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |