Uses of Interface
edu.harvard.seas.pl.abcdatalog.ast.Term
Packages that use 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
Classes in edu.harvard.seas.pl.abcdatalog.ast that implement TermModifier and TypeClassDescriptionclass
A zero-ary function symbol (i.e., a constant in Datalog).class
A Datalog variable.Fields in edu.harvard.seas.pl.abcdatalog.ast declared as TermModifier and TypeFieldDescriptionprotected final Term[]
PositiveAtom.args
Arguments of this atom.Methods in edu.harvard.seas.pl.abcdatalog.ast that return TermModifier 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()
Methods in edu.harvard.seas.pl.abcdatalog.ast that return types with arguments of type TermModifier and TypeMethodDescriptionBinaryDisunifier.getArgsIterable()
BinaryUnifier.getArgsIterable()
Methods in edu.harvard.seas.pl.abcdatalog.ast with parameters of type TermModifier 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) Method parameters in edu.harvard.seas.pl.abcdatalog.ast with type arguments of type TermModifier and TypeMethodDescriptionstatic <T> T
TermHelpers.fold
(Iterable<Term> terms, TermVisitor<T, T> tv, T init) Constructors in edu.harvard.seas.pl.abcdatalog.ast with parameters of type TermModifierConstructorDescriptionBinaryDisunifier
(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
Method parameters in edu.harvard.seas.pl.abcdatalog.ast.visitors with type arguments of type Term -
Uses of Term in edu.harvard.seas.pl.abcdatalog.engine.bottomup
Methods in edu.harvard.seas.pl.abcdatalog.engine.bottomup that return Term -
Uses of Term in edu.harvard.seas.pl.abcdatalog.engine.topdown
Fields in edu.harvard.seas.pl.abcdatalog.engine.topdown declared as TermFields in edu.harvard.seas.pl.abcdatalog.engine.topdown with type parameters of type TermMethods in edu.harvard.seas.pl.abcdatalog.engine.topdown that return TermModifier 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()
Methods in edu.harvard.seas.pl.abcdatalog.engine.topdown with parameters of type TermModifier and TypeMethodDescriptionint
Returns the index of the given term in the schema.Constructors in edu.harvard.seas.pl.abcdatalog.engine.topdown with parameters of type TermModifierConstructorDescriptionAdornedAtom
(AdornedPredicateSym pred, Term[] args) Constructs an adorned atom with the given predicate symbol and arguments.Constructor parameters in edu.harvard.seas.pl.abcdatalog.engine.topdown with type arguments of type Term -
Uses of Term in edu.harvard.seas.pl.abcdatalog.util.substitution
Methods in edu.harvard.seas.pl.abcdatalog.util.substitution that return TermModifier 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.Methods in edu.harvard.seas.pl.abcdatalog.util.substitution with parameters of type TermModifier 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
Method parameters in edu.harvard.seas.pl.abcdatalog.util.substitution with type arguments of type Term