public class InjectiveVar2VarSubstitutionImpl extends Var2VarSubstitutionImpl implements InjectiveVar2VarSubstitution
termFactory| Modifier | Constructor and Description |
|---|---|
protected |
InjectiveVar2VarSubstitutionImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> substitutionMap,
AtomFactory atomFactory,
TermFactory termFactory,
SubstitutionFactory substitutionFactory)
Regular constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableTerm> |
applyRenaming(ImmutableSubstitution<T> substitutionToRename)
Applies it (the Var2VarSubstitution) on the keys and values of the given substitution.
|
DistinctVariableOnlyDataAtom |
applyToDistinctVariableOnlyDataAtom(DistinctVariableOnlyDataAtom dataAtom) |
Optional<InjectiveVar2VarSubstitution> |
composeWithAndPreserveInjectivity(InjectiveVar2VarSubstitution g,
Set<Variable> variablesToExcludeFromTheDomain)
{ (x,y) | (x,y) \in (this o otherSubstitution), x not excluded }
Returns Optional.empty() when the resulting substitution is not injective (anymore).
|
InjectiveVar2VarSubstitution |
reduceDomainToIntersectionWith(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> restrictingDomain)
Reduces the substitution's domain to its intersection with the argument domain
|
applyToNonGroundTerm, applyToTarget, applyToTerm, applyToVariable, constructNewSubstitution, get, getDomain, getImmutableMap, isDefining, isEmpty, toStringapplyToArgumentMap, applyToDataAtom, composeWith, composeWith2, equals, getFragment, orientate, simplifyValues, simplifyValues, unionapply, apply, applyToBooleanExpression, applyToFunctionalTermclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyToNonGroundTerm, applyToTarget, applyToTerm, applyToVariableapplyToArgumentMap, applyToDataAtom, composeWith, composeWith2, getFragment, orientate, simplifyValues, simplifyValues, unionapply, apply, applyToBooleanExpression, applyToFunctionalTerm, get, getDomain, getImmutableMap, isDefining, isEmptyprotected InjectiveVar2VarSubstitutionImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> substitutionMap, AtomFactory atomFactory, TermFactory termFactory, SubstitutionFactory substitutionFactory)
public <T extends ImmutableTerm> ImmutableSubstitution<T> applyRenaming(ImmutableSubstitution<T> substitutionToRename)
InjectiveVar2VarSubstitutionapplyRenaming in interface InjectiveVar2VarSubstitutionpublic DistinctVariableOnlyDataAtom applyToDistinctVariableOnlyDataAtom(DistinctVariableOnlyDataAtom dataAtom) throws ConversionException
applyToDistinctVariableOnlyDataAtom in interface InjectiveVar2VarSubstitutionConversionExceptionpublic Optional<InjectiveVar2VarSubstitution> composeWithAndPreserveInjectivity(InjectiveVar2VarSubstitution g, Set<Variable> variablesToExcludeFromTheDomain)
InjectiveVar2VarSubstitutioncomposeWithAndPreserveInjectivity in interface InjectiveVar2VarSubstitutionpublic InjectiveVar2VarSubstitution reduceDomainToIntersectionWith(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> restrictingDomain)
ImmutableSubstitutionreduceDomainToIntersectionWith in interface ImmutableSubstitution<Variable>reduceDomainToIntersectionWith in interface InjectiveVar2VarSubstitutionreduceDomainToIntersectionWith in class AbstractImmutableSubstitutionImpl<Variable>Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.