public class Decision
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Decision.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
action
A variable that contains a name of a Action class
that should be triggered with a reflection mechanisms
while executing decision.
|
protected Attribute |
attr |
protected ExpressionInterface |
decision |
protected ExpressionInterface |
tail |
| Constructor and Description |
|---|
Decision() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(WorkingMemory wm,
UncertainTrue certainty) |
Attribute |
getAttribute() |
ExpressionInterface |
getDecision() |
protected void |
setAttribute(Attribute attr) |
protected void |
setDecision(ExpressionInterface decision) |
java.lang.String |
toString() |
protected Attribute attr
protected ExpressionInterface decision
protected ExpressionInterface tail
protected java.lang.String action
public Attribute getAttribute()
protected void setAttribute(Attribute attr)
public ExpressionInterface getDecision()
protected void setDecision(ExpressionInterface decision)
public boolean execute(WorkingMemory wm, UncertainTrue certainty) throws java.lang.UnsupportedOperationException, NotInTheDomainException, UnknownValueException
java.lang.UnsupportedOperationExceptionNotInTheDomainExceptionUnknownValueExceptionpublic java.lang.String toString()
toString in class java.lang.Object