public class SubstitutionImpl extends Object implements Substitution
| Constructor and Description |
|---|
SubstitutionImpl(Map<Variable,Term> substitutionMap,
TermFactory termFactory) |
SubstitutionImpl(TermFactory termFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
composeFunctions(Function first,
Function second)
Composes two functional terms.
|
boolean |
composeTerms(Term term1,
Term term2)
Creates a unifier (singleton substitution) out of term1 and term2.
|
Term |
get(Variable var) |
Map<Variable,Term> |
getMap()
Map representation of this function.
|
boolean |
isEmpty() |
Set<Variable> |
keySet()
Deprecated.
|
String |
toString() |
public SubstitutionImpl(TermFactory termFactory)
public SubstitutionImpl(Map<Variable,Term> substitutionMap, TermFactory termFactory)
public Term get(Variable var)
get in interface Substitutionpublic Map<Variable,Term> getMap()
SubstitutiongetMap in interface Substitutionpublic boolean isEmpty()
isEmpty in interface Substitution@Deprecated public Set<Variable> keySet()
public boolean composeTerms(Term term1, Term term2)
composeTerms in interface Substitutionterm1 - term2 - public boolean composeFunctions(Function first, Function second)
SubstitutioncomposeFunctions in interface SubstitutionCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.