public interface ImmutableSubstitution<T extends ImmutableTerm> extends ProtoSubstitution<T>
| Modifier and Type | Method and Description |
|---|---|
it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> |
applyToArgumentMap(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap)
Only guaranteed for T extends VariableOrGroundTerm.
|
<P extends AtomPredicate> |
applyToDataAtom(DataAtom<P> atom)
Only guaranteed for T extends VariableOrGroundTerm.
|
ImmutableSubstitution<ImmutableTerm> |
composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
Viewing a substitution as a function (takes a term, returns a term).
|
ImmutableSubstitution<T> |
composeWith2(ImmutableSubstitution<? extends T> f) |
<S extends ImmutableTerm> |
getFragment(Class<S> type) |
ImmutableSubstitution<T> |
orientate(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Variable> priorityVariables)
Returns a "similar" substitution that avoids (if possible) to substitute certain variables.
|
ImmutableSubstitution<T> |
reduceDomainToIntersectionWith(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> restrictingDomain)
Reduces the substitution's domain to its intersection with the argument domain
|
ImmutableSubstitution<ImmutableTerm> |
simplifyValues() |
ImmutableSubstitution<ImmutableTerm> |
simplifyValues(VariableNullability variableNullability) |
Optional<ImmutableSubstitution<T>> |
union(ImmutableSubstitution<T> otherSubstitution)
Because of the optional cannot be overloaded.
|
apply, apply, applyToBooleanExpression, applyToFunctionalTerm, applyToVariable, get, getDomain, getImmutableMap, isDefining, isEmpty<P extends AtomPredicate> DataAtom<P> applyToDataAtom(DataAtom<P> atom) throws ConversionException
If T == ImmutableTerm, throws a ConversionException if a substituted term is not a VariableOrGroundTerm.
ConversionExceptionit.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> applyToArgumentMap(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap) throws ConversionException
If T == ImmutableTerm, throws a ConversionException if a substituted term is not a VariableOrGroundTerm.
ConversionExceptionImmutableSubstitution<ImmutableTerm> composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
ImmutableSubstitution<T> composeWith2(ImmutableSubstitution<? extends T> f)
Optional<ImmutableSubstitution<T>> union(ImmutableSubstitution<T> otherSubstitution)
ImmutableSubstitution<T> orientate(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Variable> priorityVariables)
Acts on equality between variables.
The first variable in the list has the highest priority.
This method requires the domain and the range to be disjoint.
<S extends ImmutableTerm> ImmutableSubstitution<S> getFragment(Class<S> type)
ImmutableSubstitution<T> reduceDomainToIntersectionWith(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> restrictingDomain)
ImmutableSubstitution<ImmutableTerm> simplifyValues(VariableNullability variableNullability)
ImmutableSubstitution<ImmutableTerm> simplifyValues()
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.