C
- Represented comparator/dissimilarity calculator type.public interface FloatVectorMetricFactory<C> extends MetricFactory<C>
Modifier and Type | Interface and Description |
---|---|
static class |
FloatVectorMetricFactory.ToLinenote<C>
Utility for creating a default linenote.
|
Modifier and Type | Method and Description |
---|---|
C |
forFloatMetrics(FloatVectorMetrics metric)
Creates a new Comparator instance according to the given metric.
|
C |
forTversky(TverskyParameters tverskyParamaters)
Creates a new Comparator instance according to the given Tversky metric parameters.
|
C |
forTverskyCoefficients(double coeffQuery,
double coeffTarget)
Creates a new Comparator instance according to the given Tversky metric parameters.
|
comparisonLinenote, defaultComparison
C forFloatMetrics(FloatVectorMetrics metric)
metric
- binary metricC forTversky(TverskyParameters tverskyParamaters)
tverskyParamaters
- parameters for the comparatorC forTverskyCoefficients(double coeffQuery, double coeffTarget)
coeffQuery
- Query side coefficientcoeffTarget
- Target side coefficient