Interface Substitution
- All Known Subinterfaces:
ConstOnlySubstitution
,TermUnifier
- All Known Implementing Classes:
ClauseSubstitution
,SimpleConstSubstitution
,UnionFindBasedUnifier
public interface Substitution
A mapping from variables to terms.
-
Method Summary
-
Method Details
-
apply
Apply this substitution to a list of terms, creating a new list.- Parameters:
original
- the original list- Returns:
- the new list
-
get
Retrieves the mapping of a variable.- Parameters:
x
- the variable- Returns:
- the term that the variable is bound to, or null if the variable is not in the substitution
-