@Shareable public class RealThreshold extends Object implements Threshold, Serializable
ThresholdValue.| Constructor and Description |
|---|
RealThreshold(double thresholdValue) |
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Get the threshold value.
|
boolean |
retain(double sim)
Checks a similarity value against retention criteria for
inclusion in similarity models.
|
@Inject public RealThreshold(@ThresholdValue double thresholdValue)
public double getValue()
public boolean retain(double sim)
Threshold