public abstract class AbstractRelSetSimilarity<R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> extends Object implements RelSetSimilarity<R,M,N>
| Constructor and Description |
|---|
AbstractRelSetSimilarity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Standard method for the name of a similarity.
|
protected int |
getSizeOfIntersectionOfRelation(Alignment<R,N> alignment,
RelSetType relation)
Computes the size of the intersection of a relation of two aligned relation sets.
|
protected int |
getSizeOfIntersectionOfTwoRelations(Alignment<R,N> alignment,
RelSetType relation1,
RelSetType relation2)
Computes the size of the intersection of two given relations of two aligned relation sets.
|
protected int |
getSizeOfRelation(R rs,
RelSetType relation)
Computes the size of a given relation of the given relation set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitscore, scoreDicepublic String getName()
protected int getSizeOfIntersectionOfRelation(Alignment<R,N> alignment, RelSetType relation)
alignment, - establishes the relation between two relation setsrelation, - the type of the relation for which the size of the intersection is determinedprotected int getSizeOfIntersectionOfTwoRelations(Alignment<R,N> alignment, RelSetType relation1, RelSetType relation2)
alignment, - establishes the relation between two relation setsrelation1, - the type of the considered relation in the first modelrelation2, - the type of the considered relation in the second modelprotected int getSizeOfRelation(R rs, RelSetType relation)
rs, - the relation setrelation, - the type of the respective relationCopyright © 2017. All rights reserved.