Package net.hydromatic.morel.util
Class Unifier.Substitution
java.lang.Object
net.hydromatic.morel.util.Unifier.Substitution
- Direct Known Subclasses:
Unifier.SubstitutionResult
- Enclosing class:
Unifier
Map from variables to terms.
Quicker to create than its sub-class Unifier.SubstitutionResult
because the map is mutable and not sorted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Map<Unifier.Variable, Unifier.Term> The result of the unification algorithm proper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(StringBuilder buf) booleanprivate booleaninthashCode()resolve()resolve(Unifier.Term term) toString()
-
Field Details
-
resultMap
The result of the unification algorithm proper. This does not have everything completely resolved: some variable substitutions are required before getting the most atom-y representation.
-
-
Constructor Details
-
Substitution
Substitution(Map<Unifier.Variable, Unifier.Term> resultMap)
-
-
Method Details