|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.compiler.RuleElement
public abstract class RuleElement
A base class for all compiled rule elements.
| Field Summary | |
|---|---|
protected List<IVariable> |
mOutputVariables
The variable bindings for tuples output from this rule element. |
| Constructor Summary | |
|---|---|
RuleElement()
Default constructor. |
|
| Method Summary | |
|---|---|
RuleElement |
getDeltaSubstitution(IFacts deltas)
Create a substitute rule element that will use the corresponding delta if it exists. |
List<IVariable> |
getOutputVariables()
Get the variable bindings for tuples output from this rule element. |
abstract IRelation |
process(IRelation input)
Called to process tuples from previous literals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<IVariable> mOutputVariables
| Constructor Detail |
|---|
public RuleElement()
| Method Detail |
|---|
public abstract IRelation process(IRelation input)
throws EvaluationException
previous - The relation of tuples from the previous rule element.
This should be null if this element represents the first literal.
EvaluationExceptionpublic RuleElement getDeltaSubstitution(IFacts deltas)
deltas - The Deltas from the last round of iterative evaluation.
public List<IVariable> getOutputVariables()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||