@Beta public final class EquivalenceBasedProvenancedAlignment<EqClassT,LeftT,RightT> extends Object implements ProvenancedAlignment<EqClassT,LeftT,EqClassT,RightT>
ProvenancedAlignment based on grouping items into equivalence classes. The items
aligned are the equivalence classes and the provenances are the original items.| Modifier and Type | Method and Description |
|---|---|
Collection<EqClassT> |
alignedToLeftItem(Object leftItem)
Get all items in the right set, if any, which align to the provided left set item.
|
Collection<EqClassT> |
alignedToRightItem(Object rightItem)
Get all items in the left set, if any, which align to the provided right set item.
|
Set<EqClassT> |
allLeftItems() |
Set<EqClassT> |
allRightItems() |
Set<EqClassT> |
leftAligned()
Those items in the left set which were paired with something in the right.
|
Set<EqClassT> |
leftUnaligned()
Those items in the left set which were not paired with anything in the right.
|
Collection<LeftT> |
provenancesForLeftItem(EqClassT item) |
Collection<RightT> |
provenancesForRightItem(EqClassT item) |
Set<EqClassT> |
rightAligned()
Those items in the right set which were paired with something in the right.
|
Set<EqClassT> |
rightUnaligned()
Those items in the right set which were not paired with anything in the right.
|
public Collection<LeftT> provenancesForLeftItem(EqClassT item)
provenancesForLeftItem in interface ProvenancedAlignment<EqClassT,LeftT,EqClassT,RightT>public Collection<RightT> provenancesForRightItem(EqClassT item)
provenancesForRightItem in interface ProvenancedAlignment<EqClassT,LeftT,EqClassT,RightT>public Set<EqClassT> leftUnaligned()
AlignmentleftUnaligned in interface Alignment<EqClassT,EqClassT>public Set<EqClassT> rightUnaligned()
AlignmentrightUnaligned in interface Alignment<EqClassT,EqClassT>public Set<EqClassT> leftAligned()
AlignmentleftAligned in interface Alignment<EqClassT,EqClassT>public Set<EqClassT> rightAligned()
AlignmentrightAligned in interface Alignment<EqClassT,EqClassT>public Collection<EqClassT> alignedToRightItem(Object rightItem)
AlignmentalignedToRightItem(y), then y is in alignedToRightItem(x).alignedToRightItem in interface Alignment<EqClassT,EqClassT>public Collection<EqClassT> alignedToLeftItem(Object leftItem)
AlignmentalignedToRightItem(y), then y is in alignedToRightItem(x).alignedToLeftItem in interface Alignment<EqClassT,EqClassT>public Set<EqClassT> allLeftItems()
allLeftItems in interface Alignment<EqClassT,EqClassT>Copyright © 2016. All rights reserved.