@DefaultImplementation(value=RealThreshold.class) public interface Threshold
Determine whether similarity values should be accepted into or rejected from similarity models.
Modifier and Type | Method and Description |
---|---|
boolean |
retain(double sim)
Checks a similarity value against retention criteria for inclusion in similarity models.
|
boolean retain(double sim)
Checks a similarity value against retention criteria for inclusion in similarity models.
sim
- The double similarity value to check against the threshold.true
if the parameter similarity value should be retained in the similarity model, false otherwise.