| 
||||||||||
| 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
public class NGramCachedGraphComparator
An n-gram graph comparator class, which uses caching of edge info to optimize the comparison speed.
| Field Summary | 
|---|
| Fields inherited from class gr.demokritos.iit.jinsect.documentModel.comparators.NGramGraphComparator | 
|---|
Listener | 
| Constructor Summary | |
|---|---|
NGramCachedGraphComparator()
 | 
|
| 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 | 
| Constructor Detail | 
|---|
public NGramCachedGraphComparator()
| Method Detail | 
|---|
public GraphSimilarity getSimilarityBetween(java.lang.Object oFirst,
                                            java.lang.Object oSecond)
getSimilarityBetween in interface SimilarityComparatorListenergetSimilarityBetween in class NGramGraphComparatoroFirst - 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 | |||||||||