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, forTverskyCoefficientsMethods inherited from interface com.chemaxon.descriptors.common.DescriptorGenerator
comparisonContextFactory, defaultComparison, generateDescriptor, getBareDescriptor, getParametersMethods inherited from interface com.chemaxon.descriptors.common.DescriptorSerializer
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toStringMethods inherited from interface com.chemaxon.descriptors.common.Guarded
getGuardObjectMethods 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 givenBitSetcontains set bit which can not be represented by this descriptor.
-