|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.demokritos.iit.jinsect.documentModel.comparators.NGramGraphComparator
gr.demokritos.iit.jinsect.documentModel.comparators.NGramCachedGraphComparator
gr.demokritos.iit.jinsect.documentModel.comparators.NGramCachedDistroGraphComparator
public class NGramCachedDistroGraphComparator
A class that can compare graphs with distributions on their edges (like DocumentNGramDistroGraph).
DocumentNGramDistroGraph,
Serialized Form| Field Summary | |
|---|---|
protected IDistributionComparisonListener |
distroComparator
|
| Fields inherited from class gr.demokritos.iit.jinsect.documentModel.comparators.NGramGraphComparator |
|---|
Listener |
| Constructor Summary | |
|---|---|
NGramCachedDistroGraphComparator()
|
|
NGramCachedDistroGraphComparator(IDistributionComparisonListener cl)
|
|
| Method Summary | |
|---|---|
GraphSimilarity |
getSimilarityBetween(java.lang.Object oFirst,
java.lang.Object oSecond)
Returns the similarity of the document n-gram graph oFirst as opposed to oSecond. |
| Methods inherited from class gr.demokritos.iit.jinsect.documentModel.comparators.NGramGraphComparator |
|---|
getNotificationListener, removeNotificationListener, setNotificationListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IDistributionComparisonListener distroComparator
| Constructor Detail |
|---|
public NGramCachedDistroGraphComparator()
public NGramCachedDistroGraphComparator(IDistributionComparisonListener cl)
| Method Detail |
|---|
public GraphSimilarity getSimilarityBetween(java.lang.Object oFirst,
java.lang.Object oSecond)
getSimilarityBetween in interface SimilarityComparatorListenergetSimilarityBetween in class NGramCachedGraphComparatoroFirst - The first document n-gram graph.oSecond - The second document n-gram graph.
GraphSimilarity object indicative of the similarity between the two graphs.DocumentNGramGraph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||