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.common.Guarded
Guarded.EnsureThat, Guarded.New
-
Method Summary
Modifier and TypeMethodDescriptionfromBitSet
(BitSet bits) Create a descriptor from a BitSet representation.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, 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
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.
-