@Beta @PublicAPI public interface FvGenerator extends DescriptorGenerator<FloatVectorDescriptor>, com.chemaxon.descriptors.metrics.FloatVectorMetricFactory<DescriptorComparator<FloatVectorDescriptor>>
Note that method DescriptorGenerator.generateDescriptor(chemaxon.struc.Molecule)
throws
UnsupportedOperationException
Note that unguarded form is not further defined since unguarded form depends on parameterization of the descriptor (precision, compression). Efficient unguarded form handling for various representations are covered.
Guarded.EnsureThat, Guarded.New
Modifier and Type | Method and Description |
---|---|
FloatVectorDescriptor |
fromFloats(float[] floats)
Create a descriptor from a custom representation.
|
DescriptorComparator<FloatVectorDescriptor> |
getFloatMetricsComparator(FloatVectorMetrics comparator)
Deprecated.
Use
FloatVectorMetricFactory.forFloatMetrics(com.chemaxon.descriptors.metrics.FloatVectorMetrics) . |
comparisonContextFactory, defaultComparison, generateDescriptor, getBareDescriptor, getDefaultComparator, getParameters
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toString
getGuardObject
forFloatMetrics, forTversky, forTverskyCoefficients
comparisonLinenote, defaultComparison
FloatVectorDescriptor fromFloats(float[] floats)
floats
- Values to representjava.lang.IllegalArgumentException
- when given array length differs from the represented descriptor length specified
by FvParameters.getLength()
@Deprecated DescriptorComparator<FloatVectorDescriptor> getFloatMetricsComparator(FloatVectorMetrics comparator)
FloatVectorMetricFactory.forFloatMetrics(com.chemaxon.descriptors.metrics.FloatVectorMetrics)
.comparator
- Metrics