public class AutoSimilarityHandler extends java.lang.Object implements SimilarityHandler
Modifier and Type | Field and Description |
---|---|
protected int |
_depth
Description of the Field
|
Constructor and Description |
---|
AutoSimilarityHandler()
Constructor for the AutoSimilarityHandler object
|
AutoSimilarityHandler(int depth)
Constructor for the AutoSimilarityHandler object
|
Modifier and Type | Method and Description |
---|---|
double |
computeSimilarity(java.lang.Object one,
java.lang.Object two,
double maxDiff,
double maxSim)
Description of the Method
|
protected double |
computeSimilarity(java.lang.Object one,
java.lang.Object two,
double maxDiff,
double maxSim,
int depth)
Description of the Method
|
boolean |
handles(java.lang.Object one,
java.lang.Object two)
Description of the Method
|
public AutoSimilarityHandler()
public AutoSimilarityHandler(int depth)
depth
- Description of the Parameterpublic boolean handles(java.lang.Object one, java.lang.Object two)
handles
in interface SimilarityHandler
one
- Description of the Parametertwo
- Description of the Parameterpublic double computeSimilarity(java.lang.Object one, java.lang.Object two, double maxDiff, double maxSim)
computeSimilarity
in interface SimilarityHandler
one
- Description of the Parametertwo
- Description of the ParametermaxDiff
- Description of the ParametermaxSim
- Description of the Parameterprotected double computeSimilarity(java.lang.Object one, java.lang.Object two, double maxDiff, double maxSim, int depth)
one
- Description of the Parametertwo
- Description of the ParametermaxDiff
- Description of the ParametermaxSim
- Description of the Parameterdepth
- Description of the Parameter