@DefaultImplementation(value=RealThreshold.class) public interface Threshold
| 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)
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.