public class ImmutableUnificationTools extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableUnificationTools.ArgumentMapUnification |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableUnificationTools.ArgumentMapUnification> |
computeArgumentMapMGU(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap1,
it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap2) |
Optional<ImmutableSubstitution<VariableOrGroundTerm>> |
computeAtomMGUS(ImmutableSubstitution<VariableOrGroundTerm> substitution1,
ImmutableSubstitution<VariableOrGroundTerm> substitution2) |
Optional<ImmutableSubstitution<ImmutableTerm>> |
computeDirectedMGU(ImmutableTerm sourceTerm,
ImmutableTerm targetTerm)
Computes a MGU that reuses as much as possible the variables from the target part.
|
<T extends ImmutableTerm> |
computeMGU(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> args1,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> args2)
TODO: explain
|
Optional<ImmutableSubstitution<ImmutableTerm>> |
computeMGUS(ImmutableSubstitution<? extends ImmutableTerm> substitution1,
ImmutableSubstitution<? extends ImmutableTerm> substitution2)
Computes one Most General Unifier (MGU) of (two) substitutions.
|
Optional<ImmutableSubstitution<NonFunctionalTerm>> |
computeMGUS2(ImmutableSubstitution<NonFunctionalTerm> s1,
ImmutableSubstitution<NonFunctionalTerm> s2)
TODO: make it replace computeMGUS()
|
public <T extends ImmutableTerm> Optional<ImmutableSubstitution<T>> computeMGU(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> args1, it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> args2)
public Optional<ImmutableUnificationTools.ArgumentMapUnification> computeArgumentMapMGU(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap1, it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap2)
public Optional<ImmutableSubstitution<NonFunctionalTerm>> computeMGUS2(ImmutableSubstitution<NonFunctionalTerm> s1, ImmutableSubstitution<NonFunctionalTerm> s2)
public Optional<ImmutableSubstitution<ImmutableTerm>> computeMGUS(ImmutableSubstitution<? extends ImmutableTerm> substitution1, ImmutableSubstitution<? extends ImmutableTerm> substitution2)
public Optional<ImmutableSubstitution<VariableOrGroundTerm>> computeAtomMGUS(ImmutableSubstitution<VariableOrGroundTerm> substitution1, ImmutableSubstitution<VariableOrGroundTerm> substitution2)
public Optional<ImmutableSubstitution<ImmutableTerm>> computeDirectedMGU(ImmutableTerm sourceTerm, ImmutableTerm targetTerm)
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.