|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimilarityHandler
code for computing the similarity between two chunks.. They should implement a caching mechanism so that hard coded similarities will nto be overwritten.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
boolean handles(java.lang.Object one,
java.lang.Object two)
one - Description of the Parametertwo - Description of the Parameter
double 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||