Class ConditionRule
java.lang.Object
com.aquima.interactions.rule.inference.table.ConditionRule
This class is used to store a single condition of a decision table.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConditionRule
(int index, IExpression expr, ConditionRule[] nextConditions, AttributeActionRule[] nextActions) -
Method Summary
Modifier and TypeMethodDescriptionprotected AttributeActionRule[]
evaluateConsequences
(InferenceContext context, DecisionTableCoverage coverage) protected void
gatherScopeObjects
(Set<String> scopeObjects) protected AttributeActionRule[]
protected ConditionRule[]
protected IExpression
protected int
getIndex()
protected void
toString
(StringBuffer result, int i) protected boolean
validateCondition
(InferenceContext context)
-
Constructor Details
-
ConditionRule
protected ConditionRule(int index, IExpression expr, ConditionRule[] nextConditions, AttributeActionRule[] nextActions)
-
-
Method Details
-
getIndex
protected int getIndex() -
getExpression
-
getConsequenceRules
-
getActions
-
gatherScopeObjects
-
validateCondition
-
evaluateConsequences
protected AttributeActionRule[] evaluateConsequences(InferenceContext context, DecisionTableCoverage coverage) -
toString
-