public class Formulae
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Formulae.Builder |
static class |
Formulae.ConditionalOperator |
static class |
Formulae.TimeBasedParameter |
| Modifier and Type | Field and Description |
|---|---|
protected AttributeExpressionInterface |
lhs |
protected Formulae.ConditionalOperator |
op |
protected ExpressionInterface |
rhs |
protected Formulae.TimeBasedParameter |
tbp |
| Constructor and Description |
|---|
Formulae() |
| Modifier and Type | Method and Description |
|---|---|
UncertainTrue |
evaluate(WorkingMemory wm,
UncertainTrueEvaluator ute) |
UncertainTrue |
evaluateTimeRange(WorkingMemory wm,
UncertainTrueEvaluator ute,
Formulae.TimeBasedParameter tbp,
java.lang.reflect.Method evaluatorMethod) |
Attribute |
getAttribute() |
ExpressionInterface |
getLHS() |
Formulae.ConditionalOperator |
getOp() |
ExpressionInterface |
getRHS() |
Formulae.TimeBasedParameter |
getTimeBasedParameter() |
boolean |
hasTimeBasedParameter() |
protected void |
setLHS(AttributeExpressionInterface lhs) |
protected void |
setOp(Formulae.ConditionalOperator op)
Sets the operator of the formula
|
protected void |
setRHS(ExpressionInterface rhs) |
java.lang.String |
toString() |
protected AttributeExpressionInterface lhs
protected Formulae.ConditionalOperator op
protected Formulae.TimeBasedParameter tbp
protected ExpressionInterface rhs
public UncertainTrue evaluate(WorkingMemory wm, UncertainTrueEvaluator ute) throws java.lang.UnsupportedOperationException, NotInTheDomainException, UnknownValueException
java.lang.UnsupportedOperationExceptionNotInTheDomainExceptionUnknownValueExceptionpublic UncertainTrue evaluateTimeRange(WorkingMemory wm, UncertainTrueEvaluator ute, Formulae.TimeBasedParameter tbp, java.lang.reflect.Method evaluatorMethod) throws NotInTheDomainException
NotInTheDomainExceptionpublic Formulae.ConditionalOperator getOp()
protected void setOp(Formulae.ConditionalOperator op)
op - The operator to be setpublic ExpressionInterface getLHS()
protected void setLHS(AttributeExpressionInterface lhs)
public ExpressionInterface getRHS()
protected void setRHS(ExpressionInterface rhs)
public boolean hasTimeBasedParameter()
public Formulae.TimeBasedParameter getTimeBasedParameter()
public Attribute getAttribute()
public java.lang.String toString()
toString in class java.lang.Object