public class Var2VarSubstitutionImpl extends AbstractImmutableSubstitutionImpl<Variable> implements Var2VarSubstitution
Variable --> Variable substitution.termFactory| Modifier | Constructor and Description |
|---|---|
protected |
Var2VarSubstitutionImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,? extends Variable> substitutionMap,
AtomFactory atomFactory,
TermFactory termFactory,
SubstitutionFactory substitutionFactory)
Regular constructor
|
| Modifier and Type | Method and Description |
|---|---|
NonGroundTerm |
applyToNonGroundTerm(NonGroundTerm term) |
<T extends ImmutableTerm> |
applyToTarget(ImmutableSubstitution<T> otherSubstitution)
Applies the current substitution to the "target" part of another substitution
|
<T extends ImmutableTerm> |
applyToTerm(T term)
Guarantees that the term type is preserved
|
Variable |
applyToVariable(Variable variable)
This method can be applied to simple variables
|
protected ImmutableSubstitution<Variable> |
constructNewSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> map) |
Variable |
get(Variable var) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
getDomain() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> |
getImmutableMap() |
boolean |
isDefining(Variable variable) |
boolean |
isEmpty() |
String |
toString() |
applyToArgumentMap, applyToDataAtom, composeWith, composeWith2, equals, getFragment, orientate, reduceDomainToIntersectionWith, simplifyValues, simplifyValues, unionapply, apply, applyToBooleanExpression, applyToFunctionalTermclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyToArgumentMap, applyToDataAtom, composeWith, composeWith2, getFragment, orientate, reduceDomainToIntersectionWith, simplifyValues, simplifyValues, unionapply, apply, applyToBooleanExpression, applyToFunctionalTermprotected Var2VarSubstitutionImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,? extends Variable> substitutionMap, AtomFactory atomFactory, TermFactory termFactory, SubstitutionFactory substitutionFactory)
public Variable applyToVariable(Variable variable)
ProtoSubstitutionapplyToVariable in interface ProtoSubstitution<Variable>applyToVariable in interface Var2VarSubstitutionpublic <T extends ImmutableTerm> ImmutableSubstitution<T> applyToTarget(ImmutableSubstitution<T> otherSubstitution)
Var2VarSubstitutionapplyToTarget in interface Var2VarSubstitutionpublic Variable get(Variable var)
get in interface ProtoSubstitution<Variable>public boolean isEmpty()
isEmpty in interface ProtoSubstitution<Variable>public it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> getImmutableMap()
getImmutableMap in interface ProtoSubstitution<Variable>public boolean isDefining(Variable variable)
isDefining in interface ProtoSubstitution<Variable>public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> getDomain()
getDomain in interface ProtoSubstitution<Variable>protected ImmutableSubstitution<Variable> constructNewSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> map)
constructNewSubstitution in class AbstractImmutableSubstitutionImpl<Variable>public NonGroundTerm applyToNonGroundTerm(NonGroundTerm term)
applyToNonGroundTerm in interface Var2VarSubstitutionpublic <T extends ImmutableTerm> T applyToTerm(T term)
Var2VarSubstitutionapplyToTerm in interface Var2VarSubstitutionCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.