org.deri.iris.rules.compiler
Class BuiltinForConstructedTermArguments
java.lang.Object
org.deri.iris.rules.compiler.RuleElement
org.deri.iris.rules.compiler.BuiltinForConstructedTermArguments
public class BuiltinForConstructedTermArguments
- extends RuleElement
A compiled rule element representing a built-in predicate with constructed terms arguments.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuiltinForConstructedTermArguments
public BuiltinForConstructedTermArguments(List<IVariable> inputVariables,
IBuiltinAtom builtinAtom,
boolean positive,
IEquivalentTerms equivalentTerms,
Configuration configuration)
throws EvaluationException
- Constructor.
- Parameters:
inputVariables - The variables from proceeding literals. Can be null if this is the first literal.builtinAtom - The built-in atom object at this position in the rule.positive - true, if the built-in is positive, false if it is negative.equivalentTerms - The equivalent terms..
- Throws:
EvaluationException - If constructed terms are used with a built-in or there are unbound variables.
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.