public class AggregatedSimilarity<R extends RelSet<M,N>,M extends IEntityModel<N>,N extends IEntity> extends AbstractRelSetSimilarity<R,M,N>
| Modifier and Type | Field and Description |
|---|---|
double |
weightEISim |
double |
weightESSim |
double |
weightExSim |
double |
weightInSim |
double |
weightSoSim |
| Constructor and Description |
|---|
AggregatedSimilarity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Standard method for the name of a similarity.
|
double |
score(Alignment<R,N> alignment)
Scores the similarity of two relation sets that are
related to each other by the alignment given as input.
|
double |
scoreDice(Alignment<R,N> alignment)
Scores the similarity of two relation sets that are
related to each other by the alignment given as input.
|
void |
setWeights(double weightExSim,
double weightSoSim,
double weightInSim,
double weightESSim,
double weightEISim)
Set weights for aggregation of similarities.
|
getSizeOfIntersectionOfRelation, getSizeOfIntersectionOfTwoRelations, getSizeOfRelationpublic double weightExSim
public double weightSoSim
public double weightInSim
public double weightESSim
public double weightEISim
public double score(Alignment<R,N> alignment)
RelSetSimilaritypublic double scoreDice(Alignment<R,N> alignment)
RelSetSimilaritypublic String getName()
AbstractRelSetSimilaritypublic void setWeights(double weightExSim,
double weightSoSim,
double weightInSim,
double weightESSim,
double weightEISim)
weightExSim - weight for @ExclusivenessSimilarityweightSoSim - weight for @OrderSimilarityweightInSim - weight for @InterleavingSimilarityweightESSim - weight for @ExtendedOrderSimilarityweightEISim - weight for @ExtendedInterleavingSimilarityCopyright © 2017. All rights reserved.