public interface SimilarityHandler
Modifier and Type | Method and Description |
---|---|
double |
computeSimilarity(java.lang.Object one,
java.lang.Object two,
double maxDiff,
double maxSim)
compute the similarty between one and two scaled to fit maxDiff and maxSim
|
boolean |
handles(java.lang.Object one,
java.lang.Object two)
can this handler compute a similarity for these two chunks
|
boolean handles(java.lang.Object one, java.lang.Object two)
one
- Description of the Parametertwo
- Description of the Parameterdouble computeSimilarity(java.lang.Object one, java.lang.Object two, double maxDiff, double maxSim)
one
- Description of the Parametertwo
- Description of the ParametermaxDiff
- Description of the ParametermaxSim
- Description of the Parameter