Uses of Class
edu.harvard.seas.pl.abcdatalog.engine.topdown.Tuple
Package
Description
This package contains implementations of standard top-down Datalog evaluation algorithms.
-
Uses of Tuple in edu.harvard.seas.pl.abcdatalog.engine.topdown
Modifier and TypeMethodDescriptionprotected Tuple
AbstractQsqEngine.applyBoundArgs
(Tuple t, List<Boolean> adornment, Tuple input) Creates a new tuple that is like t except the bound terms of t have been replaced by the terms in input.Attempts to unify this tuple with another tuple.Modifier and TypeMethodDescriptionboolean
Add a tuple of the proper arity to this relation.protected Tuple
AbstractQsqEngine.applyBoundArgs
(Tuple t, List<Boolean> adornment, Tuple input) Creates a new tuple that is like t except the bound terms of t have been replaced by the terms in input.Relation.applyTuplesAsSubstitutions
(Tuple x) For each tuple t in this relation, creates a substitution by mapping each attribute in the schema to the corresponding element in t, and then creates a new relation by applying each substitution to the input tuple x.boolean
Returns whether this relation contains the input tuple x.Attempts to unify this tuple with another tuple.