public class AlgebraicRewriter extends Rewriter
| Constructor and Description |
|---|
AlgebraicRewriter() |
| Modifier and Type | Method and Description |
|---|---|
LinkSpecification |
collapseSpec(LinkSpecification spec)
Collapses a spec by making use of the dependencies within the
specification.
|
LinkSpecification |
computeAllDependencies(LinkSpecification spec)
Updates all dependencies within a specification.
|
LinkSpecification |
computeAtomicDependencies(LinkSpecification spec)
Computes all atomic dependencies within a link specification.
|
LinkSpecification |
computeAtomicDependency(LinkSpecification source,
LinkSpecification target)
Checks whether source depends on target, i.e., whether the mapping
generated by source is a subset of the mapping generated by target.
|
LinkSpecification |
computeNonAtomicDependencies(LinkSpecification spec)
Updates the non-atomic dependencies of a link specification.
|
String |
getMeasure(LinkSpecification spec)
Returns the measure used in the specification.
|
List<String> |
getProperties(LinkSpecification spec)
Returns the properties that are used for the comparison.
|
LinkSpecification |
removeDuplicates(LinkSpecification spec)
Removes duplicated specifications from specification.
|
LinkSpecification |
removeUnaryOperators(LinkSpecification spec)
Removes unary operators from a specification.
|
LinkSpecification |
rewrite(LinkSpecification spec)
Rewrites a Link Specification.
|
LinkSpecification |
updateThresholds(LinkSpecification spec)
Updates the thresholds within the input link specification.
|
public LinkSpecification rewrite(LinkSpecification spec)
spec, - Input link specificationpublic LinkSpecification updateThresholds(LinkSpecification spec)
spec, - The input link specificationpublic LinkSpecification removeDuplicates(LinkSpecification spec)
spec, - The input link specificationpublic LinkSpecification removeUnaryOperators(LinkSpecification spec)
spec, - The input link specificationpublic LinkSpecification computeAtomicDependency(LinkSpecification source, LinkSpecification target)
source - Source link spectarget - Target link specpublic List<String> getProperties(LinkSpecification spec)
spec, - The input specificationpublic String getMeasure(LinkSpecification spec)
spec, - The input specificationpublic LinkSpecification computeAllDependencies(LinkSpecification spec)
spec, - The input specificationpublic LinkSpecification computeNonAtomicDependencies(LinkSpecification spec)
spec, - The input specificationpublic LinkSpecification computeAtomicDependencies(LinkSpecification spec)
spec, - The input specificationpublic LinkSpecification collapseSpec(LinkSpecification spec)
spec, - The input specificationCopyright © 2020. All rights reserved.