@Shareable public class AbsoluteThreshold extends Object implements Threshold, Serializable
ThresholdValue
.Constructor and Description |
---|
AbsoluteThreshold(double threshold)
Construct a new absolute-value threshold.
|
Modifier and Type | Method and Description |
---|---|
boolean |
retain(double sim)
Checks a similarity value against retention criteria for
inclusion in similarity models.
|
@Inject public AbsoluteThreshold(@ThresholdValue double threshold)
threshold
- The threshold valud.public boolean retain(double sim)
Threshold