org.deri.iris.rules.compiler
Class Differ
java.lang.Object
org.deri.iris.rules.compiler.RuleElement
org.deri.iris.rules.compiler.Differ
public class Differ
- extends RuleElement
A compiled rule element representing a negated ordinary literal.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Differ
public Differ(List<IVariable> inputVariables,
IRelation thisLiteralsRelation,
ITuple viewCriteria,
IEquivalentTerms equivalentTerms,
Configuration configuration)
- Constructor.
- Parameters:
inputVariables - The variable bindings from previous rule elements.thisLiteralsRelation - The relation to use for this literal.viewCriteria - The view criteria (tuple in the sub-goal instance in the rule).equivalentTerms - The equivalent terms.
process
public IRelation process(IRelation leftRelation)
- Description copied from class:
RuleElement
- Called to process tuples from previous literals.
- Specified by:
process in class RuleElement
- Returns:
- The output relation for this literal.