public class InjectiveVar2VarSubstitutionImpl extends Var2VarSubstitutionImpl implements InjectiveVar2VarSubstitution
| Modifier | Constructor and Description |
|---|---|
protected |
InjectiveVar2VarSubstitutionImpl(Map<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.
|
<T extends ImmutableTerm> |
applyToSubstitution(ImmutableSubstitution<T> substitution)
More efficient implementation
|
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, applyToTerm, applyToVariable, composeRenaming, composeWithVar2Var, constructNewSubstitution, get, getDomain, getGroundTermFragment, getImmutableMap, getVar2VarFragment, isDefining, isEmpty, toStringapplyToArgumentMap, applyToDataAtom, applyToDistinctVariableOnlyDataAtom, applyToTarget, composeWith, composeWith2, computeUnionMap, convertIntoBooleanExpression, convertIntoBooleanExpression, equals, getFunctionalTermFragment, getGroundFunctionalTermFragment, getNonFunctionalTermFragment, getNonGroundFunctionalTermFragment, getNonVariableTermFragment, getVariableOrGroundTermFragment, orientate, simplifyValues, simplifyValues, simplifyValues, union, unionHeterogeneousapply, apply, applyToBooleanExpression, applyToFunctionalTermclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyToNonGroundTerm, applyToTerm, applyToVariable, composeWithVar2VarapplyToArgumentMap, applyToDataAtom, applyToDistinctVariableOnlyDataAtom, applyToTarget, composeWith, composeWith2, convertIntoBooleanExpression, getFunctionalTermFragment, getGroundFunctionalTermFragment, getGroundTermFragment, getNonFunctionalTermFragment, getNonGroundFunctionalTermFragment, getNonVariableTermFragment, getVar2VarFragment, getVariableOrGroundTermFragment, orientate, simplifyValues, simplifyValues, union, unionHeterogeneousapply, apply, applyToBooleanExpression, applyToFunctionalTerm, get, getDomain, getImmutableMap, isDefining, isEmptyprotected InjectiveVar2VarSubstitutionImpl(Map<Variable,Variable> substitutionMap, AtomFactory atomFactory, TermFactory termFactory, SubstitutionFactory substitutionFactory)
public <T extends ImmutableTerm> ImmutableSubstitution<T> applyRenaming(ImmutableSubstitution<T> substitutionToRename)
InjectiveVar2VarSubstitutionapplyRenaming in interface InjectiveVar2VarSubstitutionpublic 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>public <T extends ImmutableTerm> Optional<ImmutableSubstitution<T>> applyToSubstitution(ImmutableSubstitution<T> substitution)
applyToSubstitution in interface Var2VarSubstitutionapplyToSubstitution in class Var2VarSubstitutionImplCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.