gr.demokritos.iit.jinsect.events
Class GraphSimilarityComparatorAdapter

java.lang.Object
  extended by gr.demokritos.iit.jinsect.events.GraphSimilarityComparatorAdapter
All Implemented Interfaces:
SimilarityComparatorListener

public class GraphSimilarityComparatorAdapter
extends java.lang.Object
implements SimilarityComparatorListener


Constructor Summary
GraphSimilarityComparatorAdapter()
          Creates a new instance of GraphSimilarityComparatorAdapter
 
Method Summary
 ISimilarity getSimilarityBetween(java.lang.Object oFirst, java.lang.Object oSecond)
          Calculates the similarity between two objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphSimilarityComparatorAdapter

public GraphSimilarityComparatorAdapter()
Creates a new instance of GraphSimilarityComparatorAdapter

Method Detail

getSimilarityBetween

public ISimilarity getSimilarityBetween(java.lang.Object oFirst,
                                        java.lang.Object oSecond)
                                 throws java.io.InvalidClassException
Description copied from interface: SimilarityComparatorListener
Calculates the similarity between two objects.

Specified by:
getSimilarityBetween in interface SimilarityComparatorListener
Parameters:
oFirst - The first object.
oSecond - The second object.
Returns:
The similarity between the two objects.
Throws:
java.io.InvalidClassException - Throws this exception when the objects are not comparable due to class restrictions.
See Also:
ISimilarity