public class HighestOccurrenceSimilarity extends java.lang.Object implements TopicSimilarity
Modifier and Type | Field and Description |
---|---|
private uk.ac.shef.wit.simmetrics.similaritymetrics.InterfaceStringMetric |
stringMetric |
Constructor and Description |
---|
HighestOccurrenceSimilarity() |
HighestOccurrenceSimilarity(uk.ac.shef.wit.simmetrics.similaritymetrics.InterfaceStringMetric metric) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
double |
similarity(Topic t1,
Topic t2) |
private uk.ac.shef.wit.simmetrics.similaritymetrics.InterfaceStringMetric stringMetric
public HighestOccurrenceSimilarity()
public HighestOccurrenceSimilarity(uk.ac.shef.wit.simmetrics.similaritymetrics.InterfaceStringMetric metric)
public java.lang.String getName()
getName
in interface TopicSimilarity
public double similarity(Topic t1, Topic t2)
similarity
in interface TopicSimilarity
Copyright 2004-2015 Wandora Team