Interface BvGenerator
- All Superinterfaces:
BinaryVectorMetricFactory<DescriptorComparator<BinaryVectorDescriptor>>
,DescriptorGenerator<BinaryVectorDescriptor>
,DescriptorSerializer<BinaryVectorDescriptor>
,Guarded
,MetricFactory<DescriptorComparator<BinaryVectorDescriptor>>
,Serializable
@Beta
@PublicAPI
public interface BvGenerator
extends DescriptorGenerator<BinaryVectorDescriptor>, BinaryVectorMetricFactory<DescriptorComparator<BinaryVectorDescriptor>>
Generator for generic binary vector descriptors.
Note that method DescriptorGenerator.generateDescriptor(chemaxon.struc.Molecule)
throws
UnsupportedOperationException
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.chemaxon.descriptors.metrics.BinaryVectorMetricFactory
BinaryVectorMetricFactory.ToLinenote<C>
Nested classes/interfaces inherited from interface com.chemaxon.descriptors.common.Guarded
Guarded.EnsureThat, Guarded.New
-
Method Summary
Modifier and TypeMethodDescriptionfromBitSet
(BitSet bits) Create a descriptor from a BitSet representation.getBinaryMetricsComparator
(BinaryMetrics metrics) Deprecated, for removal: This API element is subject to removal in a future version.getTverskyComparator
(double coeffQuery, double coeffTarget) Deprecated, for removal: This API element is subject to removal in a future version.getTverskyComparator
(TverskyParameters tverskyParamaters) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface com.chemaxon.descriptors.metrics.BinaryVectorMetricFactory
forBinaryMetrics, forTversky, forTverskyCoefficients
Methods inherited from interface com.chemaxon.descriptors.common.DescriptorGenerator
comparisonContextFactory, defaultComparison, generateDescriptor, getBareDescriptor, getDefaultComparator, getParameters
Methods inherited from interface com.chemaxon.descriptors.common.DescriptorSerializer
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toString
Methods inherited from interface com.chemaxon.descriptors.common.Guarded
getGuardObject
Methods inherited from interface com.chemaxon.descriptors.metrics.MetricFactory
comparisonLinenote, defaultComparison
-
Method Details
-
fromBitSet
Create a descriptor from a BitSet representation.- Parameters:
bits
- Values to represent.- Returns:
- Descriptor representing the given values.
- Throws:
IllegalArgumentException
- when givenBitSet
contains set bit which can not be represented by this descriptor.
-
getBinaryMetricsComparator
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JAN_01_2025) DescriptorComparator<BinaryVectorDescriptor> getBinaryMetricsComparator(BinaryMetrics metrics) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated comparison method kept for compatibility reasons.- Parameters:
metrics
- Metrics- Returns:
- Comparator
-
getTverskyComparator
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JAN_01_2025) DescriptorComparator<BinaryVectorDescriptor> getTverskyComparator(double coeffQuery, double coeffTarget) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated comparison method kept for compatibility reasons.- Parameters:
coeffQuery
- Metric parametercoeffTarget
- Metric parameter- Returns:
- Comparator
-
getTverskyComparator
@Deprecated(forRemoval=true) @SubjectToRemoval(date=JAN_01_2025) DescriptorComparator<BinaryVectorDescriptor> getTverskyComparator(TverskyParameters tverskyParamaters) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated comparison method kept for compatibility reasons.- Parameters:
tverskyParamaters
- Metrics parameter- Returns:
- Comparator
-
BinaryVectorMetricFactory.forBinaryMetrics(com.chemaxon.descriptors.metrics.BinaryMetrics)
.