Unificator
Types
Functions
Link copied to clipboard
Tells whether two Terms match each other, that is there's a Most General Unifier for them. It performs unification with occur check
open fun match( term1: <ERROR CLASS>, term2: <ERROR CLASS>, occurCheckEnabled: Boolean): Boolean
Content copied to clipboard
Tells whether two Terms match each other, that is there's a Most General Unifier for them
Link copied to clipboard
open fun merge(substitution1: <ERROR CLASS>, substitution2: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
Merges two Substitutions, with occurs check
abstract fun merge( substitution1: <ERROR CLASS>, substitution2: <ERROR CLASS>, occurCheckEnabled: Boolean): <ERROR CLASS>
Content copied to clipboard
Merges two Substitutions
Link copied to clipboard
Link copied to clipboard
open fun unify(term1: <ERROR CLASS>, term2: <ERROR CLASS>): <ERROR CLASS>?
Content copied to clipboard
Unifies two Terms if possible, with occurs check
open fun unify( term1: <ERROR CLASS>, term2: <ERROR CLASS>, occurCheckEnabled: Boolean): <ERROR CLASS>?
Content copied to clipboard
Unifies two Terms if possible