Uses of Interface
edu.harvard.seas.pl.abcdatalog.ast.Term
Package
Description
This packages contains classes representing the core abstract syntax tree for AbcDatalog.
This package contains classes that implement the visitor design pattern for visiting AST nodes.
This package contains classes and interfaces that are used in all of the bottom-up engines.
This package contains implementations of standard top-down Datalog evaluation algorithms.
This package contains classes that represents substitutions (i.e., mappings from variables to
terms).
-
Uses of Term in edu.harvard.seas.pl.abcdatalog.ast
Modifier and TypeClassDescriptionclass
A zero-ary function symbol (i.e., a constant in Datalog).class
A Datalog variable.Modifier and TypeFieldDescriptionprotected final Term[]
PositiveAtom.args
Arguments of this atom.Modifier and TypeMethodDescriptionConstant.applySubst
(Substitution subst) Term.applySubst
(Substitution subst) Variable.applySubst
(Substitution subst) Term[]
NegatedAtom.getArgs()
Term[]
PositiveAtom.getArgs()
BinaryDisunifier.getLeft()
BinaryUnifier.getLeft()
BinaryDisunifier.getRight()
BinaryUnifier.getRight()
Modifier and TypeMethodDescriptionBinaryDisunifier.getArgsIterable()
BinaryUnifier.getArgsIterable()
Modifier and TypeMethodDescriptionstatic PositiveAtom
PositiveAtom.create
(PredicateSym pred, Term[] args) A static factory method for the creation of atoms.static <T> T
TermHelpers.fold
(Term[] terms, TermVisitor<T, T> tv, T init) static boolean
TermHelpers.unify
(Term u, Term v, ConstOnlySubstitution s) static boolean
TermHelpers.unify
(Term u, Term v, TermUnifier s) Modifier and TypeMethodDescriptionstatic <T> T
TermHelpers.fold
(Iterable<Term> terms, TermVisitor<T, T> tv, T init) ModifierConstructorDescriptionBinaryDisunifier
(Term left, Term right) BinaryUnifier
(Term left, Term right) NegatedAtom
(PredicateSym pred, Term[] args) protected
PositiveAtom
(PredicateSym pred, Term[] args) Constructs an atom from a predicate symbol and a list of arguments. -
Uses of Term in edu.harvard.seas.pl.abcdatalog.ast.visitors
-
Uses of Term in edu.harvard.seas.pl.abcdatalog.engine.bottomup
-
Uses of Term in edu.harvard.seas.pl.abcdatalog.engine.topdown
Modifier and TypeMethodDescriptionTermSchema.get
(int i) Returns the term at the given index into the schema.Tuple.get
(int i) Returns the term at the ith position in this tuple (0-indexed).Term[]
AdornedAtom.getArgs()
Modifier and TypeMethodDescriptionint
Returns the index of the given term in the schema.ModifierConstructorDescriptionAdornedAtom
(AdornedPredicateSym pred, Term[] args) Constructs an adorned atom with the given predicate symbol and arguments. -
Uses of Term in edu.harvard.seas.pl.abcdatalog.util.substitution
Modifier and TypeMethodDescriptionTerm[]
Term[]
Term[]
Apply this substitution to a list of terms, creating a new list.Term[]
Retrieves the mapping of a variable.Retrieves the mapping of a variable.Modifier and TypeMethodDescriptionTerm[]
Term[]
Term[]
Apply this substitution to a list of terms, creating a new list.Term[]
static Substitution
Creates a substitution from unifying two arrays of terms.void
Adds a mapping from a variable to a term.static SimpleConstSubstitution
Creates a substitution from unifying two lists of terms, the second of which must be ground (i.e., contain no variables).boolean
Attempts to unify a variable with a term.boolean