|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.demokritos.iit.jinsect.documentModel.comparators.NGramHistogramComparator
public class NGramHistogramComparator
An n-gram histogram comparison performing class, the compares DocumentNGramHistogram objects.
Constructor Summary | |
---|---|
NGramHistogramComparator()
Creates a new instance of NGramHistogramComparator. |
Method Summary | |
---|---|
GraphSimilarity |
getSimilarityBetween(java.lang.Object oFirst,
java.lang.Object oSecond)
Returns the similarity between two document n-gram histograms. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NGramHistogramComparator()
Method Detail |
---|
public GraphSimilarity getSimilarityBetween(java.lang.Object oFirst, java.lang.Object oSecond)
getSimilarityBetween
in interface SimilarityComparatorListener
oFirst
- The first document n-gram histogram.oSecond
- The second document n-gram histogram.
GraphSimilarity
object, giving a measure of similarity between the
two graphs.DocumentNGramHistogram
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |