|
||||||||||
| 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
public class NGramGraphComparator
An n-gram graph comparison performing class, the compares DocumentNGramGraph objects.
| Field Summary | |
|---|---|
protected NotificationListener |
Listener
|
| Constructor Summary | |
|---|---|
NGramGraphComparator()
Creates a new instance of NGramGraphComparator. |
|
| Method Summary | |
|---|---|
NotificationListener |
getNotificationListener()
Returns the notification listener used for progress report info. |
GraphSimilarity |
getSimilarityBetween(java.lang.Object oFirst,
java.lang.Object oSecond)
Returns the similarity between two document n-gram graphs. |
void |
removeNotificationListener()
Clears the notification listener, that accepts progress report info, so that no reporting is made. |
void |
setNotificationListener(NotificationListener nlListener)
Sets the notification listener, that accepts progress report info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NotificationListener Listener
| Constructor Detail |
|---|
public NGramGraphComparator()
| Method Detail |
|---|
public GraphSimilarity getSimilarityBetween(java.lang.Object oFirst,
java.lang.Object oSecond)
getSimilarityBetween in interface SimilarityComparatorListeneroFirst - The first document n-gram graph.oSecond - The second document n-gram graph.
GraphSimilarity object, giving a measure of similarity between the
two graphs.DocumentNGramGraphpublic void setNotificationListener(NotificationListener nlListener)
setNotificationListener in interface NotifiernlListener - The listener object.NotificationListenerpublic void removeNotificationListener()
removeNotificationListener in interface NotifierNotificationListenerpublic NotificationListener getNotificationListener()
getNotificationListener in interface NotifierNotificationListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||