Uses of Interface
edu.harvard.seas.pl.abcdatalog.util.substitution.Substitution
Package
Description
This packages contains classes representing the core abstract syntax tree for AbcDatalog.
This package contains classes and interfaces that are used in all of the bottom-up engines.
This package contains classes that represents substitutions (i.e., mappings from variables to
terms).
-
Uses of Substitution in edu.harvard.seas.pl.abcdatalog.ast
Modifier and TypeMethodDescriptionPositiveAtom.unify
(PositiveAtom fact) Attempts to unify this atom with a fact (i.e., a ground atom).Modifier and TypeMethodDescriptionBinaryDisunifier.applySubst
(Substitution subst) BinaryUnifier.applySubst
(Substitution subst) Constant.applySubst
(Substitution subst) Head.applySubst
(Substitution subst) NegatedAtom.applySubst
(Substitution subst) PositiveAtom.applySubst
(Substitution subst) Apply a substitution to the terms in this atom.Premise.applySubst
(Substitution subst) Term.applySubst
(Substitution subst) Variable.applySubst
(Substitution subst) -
Uses of Substitution in edu.harvard.seas.pl.abcdatalog.engine.bottomup
-
Uses of Substitution in edu.harvard.seas.pl.abcdatalog.util.substitution
Modifier and TypeInterfaceDescriptioninterface
A mapping from variables to constants.interface
A substitution that allows a variable to be mapped to (i.e., unified with) multiple terms, as long as no two of those terms are constants.Modifier and TypeClassDescriptionclass
This is a substitution tailor-made for a particular clause.class
A mapping from variables to constants.class
A mapping from variables to terms.Modifier and TypeMethodDescriptionstatic Substitution
Creates a substitution from unifying two arrays of terms.Modifier and TypeMethodDescriptionstatic Clause
SubstitutionUtils.applyToClause
(Substitution subst, Clause cl) static List
<PositiveAtom> SubstitutionUtils.applyToPositiveAtoms
(Substitution subst, Iterable<PositiveAtom> atoms) Apply a substitution to the given positive atoms, returning a list of the resulting atoms (in order).static void
SubstitutionUtils.applyToPositiveAtoms
(Substitution subst, Iterable<PositiveAtom> atoms, Collection<PositiveAtom> acc) Apply a substitution to the given positive atoms, adding the resulting atoms to the provided collection (in order).