@Beta @PublicAPI public interface FvGenerator extends DescriptorGenerator<FloatVectorDescriptor>, 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.NewFloatVectorMetricFactory.ToLinenote<C>| Modifier and Type | Method and Description |
|---|---|
FloatVectorDescriptor |
fromFloats(float[] floats)
Create a descriptor from a custom representation.
|
DescriptorComparator<FloatVectorDescriptor> |
getFloatMetricsComparator(FloatVectorMetrics comparator)
|
comparisonContextFactory, defaultComparison, generateDescriptor, getBareDescriptor, getDefaultComparator, getParametersfromByteArray, fromString, serializerIsEqualWith, toByteArray, toStringgetGuardObjectforFloatMetrics, forTversky, forTverskyCoefficientscomparisonLinenote, defaultComparisonFloatVectorDescriptor fromFloats(float[] floats)
floats - Values to representIllegalArgumentException - 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