Package org.forester.surfacing
Interface PairwiseDomainSimilarity
- All Known Implementing Classes:
CombinationsBasedPairwiseDomainSimilarity
,CountsBasedPairwiseDomainSimilarity
public interface PairwiseDomainSimilarity
-
Method Summary
Modifier and TypeMethodDescriptionint
This should return the -- not normalized, not absolute -- difference in counts (for example domain counts) for the two domains.double
-
Method Details
-
getDifferenceInCounts
int getDifferenceInCounts()This should return the -- not normalized, not absolute -- difference in counts (for example domain counts) for the two domains. It is important that it is: (counts for domain 1) minus (counts for domain 2).- Returns:
- the difference in counts
-
getSimilarityScore
double getSimilarityScore()
-