Uses of Interface
edu.harvard.seas.pl.abcdatalog.util.substitution.Substitution
Packages that use 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
Methods in edu.harvard.seas.pl.abcdatalog.ast that return SubstitutionModifier and TypeMethodDescriptionPositiveAtom.unify
(PositiveAtom fact) Attempts to unify this atom with a fact (i.e., a ground atom).Methods in edu.harvard.seas.pl.abcdatalog.ast with parameters of type SubstitutionModifier 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
Methods in edu.harvard.seas.pl.abcdatalog.engine.bottomup with parameters of type Substitution -
Uses of Substitution in edu.harvard.seas.pl.abcdatalog.util.substitution
Subinterfaces of Substitution in edu.harvard.seas.pl.abcdatalog.util.substitutionModifier 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.Classes in edu.harvard.seas.pl.abcdatalog.util.substitution that implement SubstitutionModifier 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.Methods in edu.harvard.seas.pl.abcdatalog.util.substitution that return SubstitutionModifier and TypeMethodDescriptionstatic Substitution
Creates a substitution from unifying two arrays of terms.Methods in edu.harvard.seas.pl.abcdatalog.util.substitution with parameters of type SubstitutionModifier 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).