Package com.chemaxon.descriptors.metrics
Interface BinaryVectorMetricFactory<C>
- Type Parameters:
C
- Represented comparator/dissimilarity calculator type.Please note that this interface is marked with
Beta
annotation, so it can be subject of incompatible changes or removal in later releases.
- All Superinterfaces:
MetricFactory<C>
,Serializable
- All Known Subinterfaces:
BvGenerator
,CfpGenerator
,EcfpGenerator
,MaccsGenerator
Represents available metrics for binary vector based descriptors.
-
Method Summary
Modifier and TypeMethodDescriptionforBinaryMetrics
(BinaryMetrics metrics) Creates a new instance according to the given metric.forTversky
(TverskyParameters tverskyParamaters) Creates a new Comparator instance according to the given Tversky metric parameters.forTverskyCoefficients
(double coeffQuery, double coeffTarget) Creates a new Comparator instance according to the given Tversky metric parameters.Methods inherited from interface com.chemaxon.descriptors.metrics.MetricFactory
defaultComparison
-
Method Details
-
forBinaryMetrics
Creates a new instance according to the given metric.- Parameters:
metrics
- binary metric- Returns:
- a comparator object
-
forTversky
Creates a new Comparator instance according to the given Tversky metric parameters.- Parameters:
tverskyParamaters
- parameters for the comparator- Returns:
- a comparator object
-
forTverskyCoefficients
Creates a new Comparator instance according to the given Tversky metric parameters.- Parameters:
coeffQuery
- Query side coefficientcoeffTarget
- Target side coefficient- Returns:
- a comparator object
-