| Modifier and Type | Method and Description |
|---|---|
AggregationNode |
IntermediateQueryFactory.createAggregationNode(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> groupingVariables,
ImmutableSubstitution<ImmutableFunctionalTerm> substitution) |
ConstructionNode |
IntermediateQueryFactory.createConstructionNode(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables,
ImmutableSubstitution<ImmutableTerm> substitution) |
| Modifier and Type | Method and Description |
|---|---|
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
IQTree.getPossibleVariableDefinitions()
Returns a set of substitutions that define the projected variables when they are constructed.
|
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
ConcreteIQTreeCache.getPossibleVariableDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
IQTree |
IQTree.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint)
Applies the descending substitution and performs SOME optimizations.
|
IQTree |
IQTree.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution)
Applies the descending substitution WITHOUT applying any additional optimization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConcreteIQTreeCache.setPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions)
Can only be set ONCE!
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
AbstractCompositeIQTree.computePossibleVariableDefinitions() |
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
BinaryNonCommutativeIQTreeImpl.computePossibleVariableDefinitions() |
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
NaryIQTreeImpl.computePossibleVariableDefinitions() |
protected it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
UnaryIQTreeImpl.computePossibleVariableDefinitions() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
AbstractCompositeIQTree.getPossibleVariableDefinitions() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
ConcreteIQTreeCacheImpl.getPossibleVariableDefinitions() |
protected Optional<ImmutableSubstitution<? extends VariableOrGroundTerm>> |
AbstractCompositeIQTree.normalizeDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
Optional<ImmutableSubstitution<? extends VariableOrGroundTerm>> |
IQTreeTools.normalizeDescendingSubstitution(IQTree tree,
ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution)
Excludes the variables that are not projected by the IQTree
If a "null" variable is propagated down, throws an UnsatisfiableDescendingSubstitutionException.
|
| Modifier and Type | Method and Description |
|---|---|
IQTree |
AbstractCompositeIQTree.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint) |
IQTree |
BinaryNonCommutativeIQTreeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
NaryIQTreeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
UnaryIQTreeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
protected abstract IQTree |
AbstractCompositeIQTree.applyRegularDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint) |
protected IQTree |
BinaryNonCommutativeIQTreeImpl.applyRegularDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint) |
protected IQTree |
NaryIQTreeImpl.applyRegularDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint) |
protected IQTree |
UnaryIQTreeImpl.applyRegularDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
IQTreeTools.computeNewProjectedVariables(ImmutableSubstitution<? extends ImmutableTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables) |
Optional<InjectiveVar2VarSubstitution> |
IQTreeTools.extractFreshRenaming(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables)
If the substitution is an fresh renaming, returns it as an injective substitution
|
protected Optional<ImmutableSubstitution<? extends VariableOrGroundTerm>> |
AbstractCompositeIQTree.normalizeDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
Optional<ImmutableSubstitution<? extends VariableOrGroundTerm>> |
IQTreeTools.normalizeDescendingSubstitution(IQTree tree,
ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution)
Excludes the variables that are not projected by the IQTree
If a "null" variable is propagated down, throws an UnsatisfiableDescendingSubstitutionException.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConcreteIQTreeCacheImpl.setPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions) |
| Constructor and Description |
|---|
ConcreteIQTreeCacheImpl(CoreSingletons coreSingletons,
boolean isNormalizedForOptimization,
boolean areDistinctAlreadyRemoved,
VariableNullability variableNullability,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> variables,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> notInternallyRequiredVariables,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> possibleVariableDefinitions,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable>> uniqueConstraints,
Boolean isDistinct)
Internal constructor
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableSubstitution<ImmutableFunctionalTerm> |
AggregationNode.getSubstitution() |
ImmutableSubstitution<ImmutableTerm> |
ConstructionNode.getSubstitution() |
ImmutableSubstitution<? extends ImmutableTerm> |
ExtendedProjectionNode.getSubstitution()
(Some) projected variable --> transformed variable |
| Modifier and Type | Method and Description |
|---|---|
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
NaryOperatorNode.getPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
UnaryOperatorNode.getPossibleVariableDefinitions(IQTree child) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
BinaryOrderedOperatorNode.getPossibleVariableDefinitions(IQTree leftChild,
IQTree rightChild) |
| Modifier and Type | Method and Description |
|---|---|
IQTree |
NaryOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
UnaryOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
BinaryOrderedOperatorNode.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree leftChild,
IQTree rightChild) |
IQTree |
NaryOperatorNode.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
UnaryOperatorNode.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
BinaryOrderedOperatorNode.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree leftChild,
IQTree rightChild) |
Optional<OrderByNode> |
OrderByNode.applySubstitution(ImmutableSubstitution<? extends ImmutableTerm> substitution) |
VariableNullability |
VariableNullability.update(ImmutableSubstitution<? extends ImmutableTerm> substitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables) |
| Modifier and Type | Field and Description |
|---|---|
ImmutableSubstitution<ImmutableTerm> |
ConstructionNodeTools.NewSubstitutionPair.bindings |
ImmutableSubstitution<T> |
ConstructionNodeImpl.PropagationResults.delta |
ImmutableSubstitution<? extends ImmutableTerm> |
ConstructionNodeTools.NewSubstitutionPair.propagatedSubstitution |
ImmutableSubstitution<ImmutableTerm> |
ConstructionNodeImpl.PropagationResults.theta |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSubstitution<ImmutableFunctionalTerm> |
AggregationNodeImpl.getSubstitution() |
ImmutableSubstitution<ImmutableTerm> |
ConstructionNodeImpl.getSubstitution() |
| Modifier and Type | Method and Description |
|---|---|
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
LeafIQTreeImpl.getPossibleVariableDefinitions() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
UnionNodeImpl.getPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
InnerJoinNodeImpl.getPossibleVariableDefinitions(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
FilterNodeImpl.getPossibleVariableDefinitions(IQTree child) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
QueryModifierNodeImpl.getPossibleVariableDefinitions(IQTree child) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
AggregationNodeImpl.getPossibleVariableDefinitions(IQTree child) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
ConstructionNodeImpl.getPossibleVariableDefinitions(IQTree child) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<ImmutableSubstitution<NonVariableTerm>> |
LeftJoinNodeImpl.getPossibleVariableDefinitions(IQTree leftChild,
IQTree rightChild)
Returns possible definitions for left and right-specific variables.
|
| Modifier and Type | Method and Description |
|---|---|
IQTree |
LeafIQTreeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint)
NB: the constraint is irrelevant here
|
IQTree |
UnionNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
InnerJoinNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
SliceNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
ExtendedProjectionNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
OrderByNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
FilterNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
DistinctNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
AggregationNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree child) |
IQTree |
LeftJoinNodeImpl.applyDescendingSubstitution(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
Optional<ImmutableExpression> constraint,
IQTree leftChild,
IQTree rightChild)
NB: the constraint is only propagate to the left child
|
IQTree |
ExtensionalDataNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
TrueNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
EmptyNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
IntensionalDataNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
NativeNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
IQTree |
UnionNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
InnerJoinNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> children) |
IQTree |
SliceNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
ExtendedProjectionNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
OrderByNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
FilterNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
DistinctNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
AggregationNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree child) |
IQTree |
LeftJoinNodeImpl.applyDescendingSubstitutionWithoutOptimizing(ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution,
IQTree leftChild,
IQTree rightChild) |
Optional<OrderByNode> |
OrderByNodeImpl.applySubstitution(ImmutableSubstitution<? extends ImmutableTerm> substitution) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
ConstructionNodeTools.computeNewProjectedVariables(ImmutableSubstitution<? extends ImmutableTerm> descendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables) |
protected abstract Optional<ExtendedProjectionNode> |
ExtendedProjectionNodeImpl.computeNewProjectionNode(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newProjectedVariables,
ImmutableSubstitution<ImmutableTerm> theta,
IQTree newChild) |
protected Optional<ExtendedProjectionNode> |
AggregationNodeImpl.computeNewProjectionNode(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newProjectedVariables,
ImmutableSubstitution<ImmutableTerm> theta,
IQTree newChild) |
protected Optional<ExtendedProjectionNode> |
ConstructionNodeImpl.computeNewProjectionNode(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newProjectedVariables,
ImmutableSubstitution<ImmutableTerm> theta,
IQTree newChild) |
static it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> |
AggregationNodeImpl.extractChildVariables(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> groupingVariables,
ImmutableSubstitution<ImmutableFunctionalTerm> substitution) |
ConstructionNodeTools.NewSubstitutionPair |
ConstructionNodeTools.traverseConstructionNode(ImmutableSubstitution<? extends ImmutableTerm> tau,
ImmutableSubstitution<? extends ImmutableTerm> formerTheta,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> formerV,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newV)
TODO: explain
|
ConstructionNodeTools.NewSubstitutionPair |
ConstructionNodeTools.traverseConstructionNode(ImmutableSubstitution<? extends ImmutableTerm> tau,
ImmutableSubstitution<? extends ImmutableTerm> formerTheta,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> formerV,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newV)
TODO: explain
|
VariableNullability |
VariableNullabilityImpl.update(ImmutableSubstitution<? extends ImmutableTerm> substitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> newScope) |
| Constructor and Description |
|---|
AggregationNodeImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> groupingVariables,
ImmutableSubstitution<ImmutableFunctionalTerm> substitution,
SubstitutionFactory substitutionFactory,
IntermediateQueryFactory iqFactory,
AggregationNormalizer aggregationNormalizer,
ImmutableUnificationTools unificationTools,
ConstructionNodeTools constructionNodeTools,
ImmutableSubstitutionTools substitutionTools,
TermFactory termFactory,
CoreUtilsFactory coreUtilsFactory,
OntopModelSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSubstitution<ImmutableTerm> |
ConstructionSubstitutionNormalizer.ConstructionSubstitutionNormalization.getNormalizedSubstitution() |
ImmutableSubstitution<VariableOrGroundTerm> |
ConditionSimplifier.ExpressionAndSubstitution.getSubstitution() |
| Modifier and Type | Method and Description |
|---|---|
ConstructionSubstitutionNormalizer.ConstructionSubstitutionNormalization |
ConstructionSubstitutionNormalizer.normalizeSubstitution(ImmutableSubstitution<ImmutableTerm> ascendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSubstitution<ImmutableTerm> |
ConstructionSubstitutionNormalizerImpl.ConstructionSubstitutionNormalizationImpl.getNormalizedSubstitution() |
ImmutableSubstitution<VariableOrGroundTerm> |
ExpressionAndSubstitutionImpl.getSubstitution() |
| Modifier and Type | Method and Description |
|---|---|
R |
JoinLikeChildBindingLifter.BindingLiftConverter.convert(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> liftedChildren,
IQTree selectedGrandChild,
int selectedChildPosition,
Optional<ImmutableExpression> newCondition,
ImmutableSubstitution<ImmutableTerm> ascendingSubstitution,
ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
R |
JoinLikeChildBindingLifter.BindingLiftConverter.convert(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<IQTree> liftedChildren,
IQTree selectedGrandChild,
int selectedChildPosition,
Optional<ImmutableExpression> newCondition,
ImmutableSubstitution<ImmutableTerm> ascendingSubstitution,
ImmutableSubstitution<? extends VariableOrGroundTerm> descendingSubstitution) |
ConstructionSubstitutionNormalizer.ConstructionSubstitutionNormalization |
ConstructionSubstitutionNormalizerImpl.normalizeSubstitution(ImmutableSubstitution<ImmutableTerm> ascendingSubstitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> projectedVariables)
Prevents creating construction nodes out of ascending substitutions
Here, variable nullability is not considered due to the complexity induced by the descending substitution
|
| Constructor and Description |
|---|
ExpressionAndSubstitutionImpl(Optional<ImmutableExpression> optionalExpression,
ImmutableSubstitution<? extends VariableOrGroundTerm> substitution) |
| Modifier and Type | Method and Description |
|---|---|
DefinitionPushDownRequest |
DefinitionPushDownRequest.newRequest(ImmutableSubstitution<? extends ImmutableTerm> substitution) |
| Modifier and Type | Method and Description |
|---|---|
DefinitionPushDownRequest |
DefPushDownRequestImpl.newRequest(ImmutableSubstitution<? extends ImmutableTerm> substitution) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableSubstitution<ImmutableTerm>> |
ProjectionDecomposer.ProjectionDecomposition.getSubSubstitution() |
Optional<ImmutableSubstitution<ImmutableTerm>> |
ProjectionDecomposer.ProjectionDecomposition.getTopSubstitution() |
| Modifier and Type | Method and Description |
|---|---|
ProjectionDecomposer.ProjectionDecomposition |
ProjectionDecomposer.decomposeSubstitution(ImmutableSubstitution<? extends ImmutableTerm> substitution,
VariableGenerator variableGenerator) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableSubstitution<ImmutableTerm>> |
ProjectionDecompositionImpl.getSubSubstitution() |
Optional<ImmutableSubstitution<ImmutableTerm>> |
ProjectionDecompositionImpl.getTopSubstitution() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InjectiveVar2VarSubstitution
Var2VarSubstitution that is injective
(no value in the substitution map is shared by two keys)
|
interface |
Var2VarSubstitution
Substitution where variables are only mapped to variables
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableTerm> |
InjectiveVar2VarSubstitution.applyRenaming(ImmutableSubstitution<T> substitutionToRename)
Applies it (the Var2VarSubstitution) on the keys and values of the given substitution.
|
<T extends ImmutableTerm> |
Var2VarSubstitution.applyToTarget(ImmutableSubstitution<T> otherSubstitution)
Applies the current substitution to the "target" part of another substitution
|
ImmutableSubstitution<ImmutableTerm> |
ImmutableSubstitution.composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
Viewing a substitution as a function (takes a term, returns a term).
|
ImmutableSubstitution<T> |
ImmutableSubstitution.composeWith2(ImmutableSubstitution<? extends T> f) |
<S extends ImmutableTerm> |
ImmutableSubstitution.getFragment(Class<S> type) |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution() |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,T> newSubstitutionMap) |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution(Variable k1,
T v1) |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2) |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2,
Variable k3,
T v3) |
<T extends ImmutableTerm> |
SubstitutionFactory.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2,
Variable k3,
T v3,
Variable k4,
T v4) |
ImmutableSubstitution<T> |
ImmutableSubstitution.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> |
ImmutableSubstitution.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> |
ImmutableSubstitution.simplifyValues() |
ImmutableSubstitution<ImmutableTerm> |
ImmutableSubstitution.simplifyValues(VariableNullability variableNullability) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableSubstitution<T>> |
ImmutableSubstitution.union(ImmutableSubstitution<T> otherSubstitution)
Because of the optional cannot be overloaded.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableTerm> |
InjectiveVar2VarSubstitution.applyRenaming(ImmutableSubstitution<T> substitutionToRename)
Applies it (the Var2VarSubstitution) on the keys and values of the given substitution.
|
<T extends ImmutableTerm> |
Var2VarSubstitution.applyToTarget(ImmutableSubstitution<T> otherSubstitution)
Applies the current substitution to the "target" part of another substitution
|
ImmutableSubstitution<ImmutableTerm> |
ImmutableSubstitution.composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
Viewing a substitution as a function (takes a term, returns a term).
|
ImmutableSubstitution<T> |
ImmutableSubstitution.composeWith2(ImmutableSubstitution<? extends T> f) |
Optional<ImmutableSubstitution<T>> |
ImmutableSubstitution.union(ImmutableSubstitution<T> otherSubstitution)
Because of the optional cannot be overloaded.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractImmutableSubstitutionImpl<T extends ImmutableTerm>
Common abstract class for ImmutableSubstitutionImpl and Var2VarSubstitutionImpl
|
class |
ImmutableSubstitutionImpl<T extends ImmutableTerm>
Wrapper above an
ImmutableMap<Variable, ImmutableTerm> map. |
class |
InjectiveVar2VarSubstitutionImpl |
class |
Var2VarSubstitutionImpl
Immutable
Variable --> Variable substitution. |
| Modifier and Type | Field and Description |
|---|---|
ImmutableSubstitution<VariableOrGroundTerm> |
ImmutableUnificationTools.ArgumentMapUnification.substitution |
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableTerm> |
InjectiveVar2VarSubstitutionImpl.applyRenaming(ImmutableSubstitution<T> substitutionToRename) |
<T extends ImmutableTerm> |
Var2VarSubstitutionImpl.applyToTarget(ImmutableSubstitution<T> otherSubstitution) |
ImmutableSubstitution<ImmutableTerm> |
AbstractImmutableSubstitutionImpl.composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
" "this o f"
Equivalent to the function x
-> this.apply(f.apply(x))
Follows the formal definition of a the composition of two substitutions. |
ImmutableSubstitution<T> |
AbstractImmutableSubstitutionImpl.composeWith2(ImmutableSubstitution<? extends T> g) |
protected ImmutableSubstitution<T> |
ImmutableSubstitutionImpl.constructNewSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,T> map) |
protected abstract ImmutableSubstitution<T> |
AbstractImmutableSubstitutionImpl.constructNewSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,T> map) |
protected ImmutableSubstitution<Variable> |
Var2VarSubstitutionImpl.constructNewSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,Variable> map) |
<S extends ImmutableTerm> |
AbstractImmutableSubstitutionImpl.getFragment(Class<S> type) |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution() |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Variable,T> newSubstitutionMap) |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution(Variable k1,
T v1) |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2) |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2,
Variable k3,
T v3) |
<T extends ImmutableTerm> |
SubstitutionFactoryImpl.getSubstitution(Variable k1,
T v1,
Variable k2,
T v2,
Variable k3,
T v3,
Variable k4,
T v4) |
ImmutableSubstitution<T> |
AbstractImmutableSubstitutionImpl.orientate(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<Variable> priorityVariables) |
<T extends ImmutableTerm> |
ImmutableSubstitutionTools.prioritizeRenaming(ImmutableSubstitution<T> substitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> priorityVariables)
Prevents priority variables to be renamed into non-priority variables.
|
ImmutableSubstitution<T> |
AbstractImmutableSubstitutionImpl.reduceDomainToIntersectionWith(it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> restrictingDomain) |
ImmutableSubstitution<ImmutableTerm> |
AbstractImmutableSubstitutionImpl.simplifyValues() |
ImmutableSubstitution<ImmutableTerm> |
AbstractImmutableSubstitutionImpl.simplifyValues(VariableNullability variableNullability) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableSubstitution<VariableOrGroundTerm>> |
ImmutableUnificationTools.computeAtomMGUS(ImmutableSubstitution<VariableOrGroundTerm> substitution1,
ImmutableSubstitution<VariableOrGroundTerm> substitution2) |
Optional<ImmutableSubstitution<ImmutableTerm>> |
ImmutableUnificationTools.computeDirectedMGU(ImmutableTerm sourceTerm,
ImmutableTerm targetTerm)
Computes a MGU that reuses as much as possible the variables from the target part.
|
<T extends ImmutableTerm> |
ImmutableUnificationTools.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>> |
ImmutableUnificationTools.computeMGUS(ImmutableSubstitution<? extends ImmutableTerm> substitution1,
ImmutableSubstitution<? extends ImmutableTerm> substitution2)
Computes one Most General Unifier (MGU) of (two) substitutions.
|
Optional<ImmutableSubstitution<NonFunctionalTerm>> |
ImmutableUnificationTools.computeMGUS2(ImmutableSubstitution<NonFunctionalTerm> s1,
ImmutableSubstitution<NonFunctionalTerm> s2)
TODO: make it replace computeMGUS()
|
Optional<ImmutableSubstitution<ImmutableTerm>> |
ImmutableSubstitutionTools.computeUnidirectionalSubstitution(ImmutableTerm sourceTerm,
ImmutableTerm targetTerm)
Returns a substitution theta (if it exists) such as :
theta(s) = t
with
s : source term
t: target term
|
<T extends ImmutableTerm> |
UnifierUtilities.getMGU(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> args1,
it.unibz.inf.ontop.com.google.common.collect.ImmutableList<? extends ImmutableTerm> args2)
Computes the Most General Unifier (MGU) for two n-ary atoms.
|
Optional<ImmutableSubstitution<T>> |
AbstractImmutableSubstitutionImpl.union(ImmutableSubstitution<T> otherSubstitution) |
| Modifier and Type | Method and Description |
|---|---|
<T extends ImmutableTerm> |
InjectiveVar2VarSubstitutionImpl.applyRenaming(ImmutableSubstitution<T> substitutionToRename) |
<T extends ImmutableTerm> |
Var2VarSubstitutionImpl.applyToTarget(ImmutableSubstitution<T> otherSubstitution) |
ImmutableSubstitution<ImmutableTerm> |
AbstractImmutableSubstitutionImpl.composeWith(ImmutableSubstitution<? extends ImmutableTerm> f)
" "this o f"
Equivalent to the function x
-> this.apply(f.apply(x))
Follows the formal definition of a the composition of two substitutions. |
ImmutableSubstitution<T> |
AbstractImmutableSubstitutionImpl.composeWith2(ImmutableSubstitution<? extends T> g) |
Optional<ImmutableSubstitution<VariableOrGroundTerm>> |
ImmutableUnificationTools.computeAtomMGUS(ImmutableSubstitution<VariableOrGroundTerm> substitution1,
ImmutableSubstitution<VariableOrGroundTerm> substitution2) |
Optional<ImmutableSubstitution<VariableOrGroundTerm>> |
ImmutableUnificationTools.computeAtomMGUS(ImmutableSubstitution<VariableOrGroundTerm> substitution1,
ImmutableSubstitution<VariableOrGroundTerm> substitution2) |
Optional<ImmutableSubstitution<ImmutableTerm>> |
ImmutableUnificationTools.computeMGUS(ImmutableSubstitution<? extends ImmutableTerm> substitution1,
ImmutableSubstitution<? extends ImmutableTerm> substitution2)
Computes one Most General Unifier (MGU) of (two) substitutions.
|
Optional<ImmutableSubstitution<ImmutableTerm>> |
ImmutableUnificationTools.computeMGUS(ImmutableSubstitution<? extends ImmutableTerm> substitution1,
ImmutableSubstitution<? extends ImmutableTerm> substitution2)
Computes one Most General Unifier (MGU) of (two) substitutions.
|
Optional<ImmutableSubstitution<NonFunctionalTerm>> |
ImmutableUnificationTools.computeMGUS2(ImmutableSubstitution<NonFunctionalTerm> s1,
ImmutableSubstitution<NonFunctionalTerm> s2)
TODO: make it replace computeMGUS()
|
Optional<ImmutableSubstitution<NonFunctionalTerm>> |
ImmutableUnificationTools.computeMGUS2(ImmutableSubstitution<NonFunctionalTerm> s1,
ImmutableSubstitution<NonFunctionalTerm> s2)
TODO: make it replace computeMGUS()
|
<T extends ImmutableTerm> |
ImmutableSubstitutionTools.prioritizeRenaming(ImmutableSubstitution<T> substitution,
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<Variable> priorityVariables)
Prevents priority variables to be renamed into non-priority variables.
|
Optional<ImmutableSubstitution<T>> |
AbstractImmutableSubstitutionImpl.union(ImmutableSubstitution<T> otherSubstitution) |
| Constructor and Description |
|---|
ArgumentMapUnification(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Integer,? extends VariableOrGroundTerm> argumentMap,
ImmutableSubstitution<VariableOrGroundTerm> substitution) |
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.