public class RelSetAlgebra extends Object
RelSet.
All methods are implemented for an alignment that is captured by
RelSetAlignment. All methods require the alignment to be
non-overlapping, functional, and injective. If this is not the case,
an IllegalArgumentException is thrown.| Constructor and Description |
|---|
RelSetAlgebra() |
| Modifier and Type | Method and Description |
|---|---|
static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> |
fillIntersection(Alignment<R,N> alignment,
R relSet)
Constructs the intersection of the relation sets under the
given alignment.
|
static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> |
fillUnion(Alignment<R,N> alignment,
R relSet)
Constructs the union of the relation sets under the
given alignment.
|
static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> |
firstSubsumesSecond(Alignment<R,N> alignment)
Checks subsumption between the first and the second relation set of the
given alignment.
|
static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> |
isEqual(Alignment<R,N> alignment)
Checks equivalence of the relation sets under the given alignment.
|
static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> |
secondSubsumesFirst(Alignment<R,N> alignment)
Checks subsumption between the second and the first relation set of the
given alignment.
|
public static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> boolean isEqual(Alignment<R,N> alignment) throws IllegalArgumentException
alignment, - defined between two models and their relation setsIllegalArgumentException, - if alignment is overlapping, not functional, or not injectiveIllegalArgumentExceptionpublic static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> boolean secondSubsumesFirst(Alignment<R,N> alignment) throws IllegalArgumentException
alignment, - defined between two models and their relation setsIllegalArgumentException, - if alignment is overlapping, not functional, or not injectiveIllegalArgumentExceptionpublic static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> boolean firstSubsumesSecond(Alignment<R,N> alignment) throws IllegalArgumentException
alignment, - defined between two models and their relation setsIllegalArgumentException, - if alignment is overlapping, not functional, or not injectiveIllegalArgumentExceptionpublic static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> void fillIntersection(Alignment<R,N> alignment, R relSet) throws IllegalArgumentException
alignment, - defined between two models and their relation setsIllegalArgumentException, - if alignment is overlapping, not functional, or not injectiveIllegalArgumentExceptionpublic static <R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> void fillUnion(Alignment<R,N> alignment, R relSet) throws IllegalArgumentException
alignment, - defined between two models and their relation setsIllegalArgumentException, - if alignment is overlapping, not functional, or not injectiveIllegalArgumentExceptionCopyright © 2017. All rights reserved.