@Beta @PublicAPI public interface BvGenerator extends DescriptorGenerator<BinaryVectorDescriptor>, BinaryVectorMetricFactory<DescriptorComparator<BinaryVectorDescriptor>>
Note that method DescriptorGenerator.generateDescriptor(chemaxon.struc.Molecule)
throws
UnsupportedOperationException
Guarded.EnsureThat, Guarded.New
BinaryVectorMetricFactory.ToLinenote<C>
Modifier and Type | Method and Description |
---|---|
BinaryVectorDescriptor |
fromBitSet(BitSet bits)
Create a descriptor from a BitSet representation.
|
DescriptorComparator<BinaryVectorDescriptor> |
getBinaryMetricsComparator(BinaryMetrics metrics)
|
DescriptorComparator<BinaryVectorDescriptor> |
getTverskyComparator(double coeffQuery,
double coeffTarget)
Deprecated.
Use
#forTversky(double, double) . |
DescriptorComparator<BinaryVectorDescriptor> |
getTverskyComparator(TverskyParameters tverskyParamaters)
|
comparisonContextFactory, defaultComparison, generateDescriptor, getBareDescriptor, getDefaultComparator, getParameters
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toString
getGuardObject
forBinaryMetrics, forTversky, forTverskyCoefficients
comparisonLinenote, defaultComparison
BinaryVectorDescriptor fromBitSet(BitSet bits)
bits
- Values to represent.IllegalArgumentException
- when given BitSet
contains set bit which can not be represented by this
descriptor.@Deprecated DescriptorComparator<BinaryVectorDescriptor> getBinaryMetricsComparator(BinaryMetrics metrics)
BinaryVectorMetricFactory.forBinaryMetrics(com.chemaxon.descriptors.metrics.BinaryMetrics)
.metrics
- Metrics@Deprecated DescriptorComparator<BinaryVectorDescriptor> getTverskyComparator(double coeffQuery, double coeffTarget)
#forTversky(double, double)
.coeffQuery
- Metric parametercoeffTarget
- Metric parameter@Deprecated DescriptorComparator<BinaryVectorDescriptor> getTverskyComparator(TverskyParameters tverskyParamaters)
BinaryVectorMetricFactory.forBinaryMetrics(com.chemaxon.descriptors.metrics.BinaryMetrics)
.tverskyParamaters
- Metrics parameter