jklustor-all-api-0.0.7-20140619012755 (ChemAxon)


com.chemaxon.descriptors.vectors.floats
Interface FvGenerator

All Superinterfaces:
DescriptorGenerator<FloatVectorDescriptor>, Serializable

@Beta
public interface FvGenerator
extends DescriptorGenerator<FloatVectorDescriptor>

Generator for generic binary vector descriptors.

Note that method DescriptorGenerator.generateDescriptor(chemaxon.struc.Molecule) throws UnsupportedOperationException

Author:
Gabor Imre

Method Summary
 FloatVectorDescriptor fromFloats(float[] floats)
          Create a descriptor from a custom representation.
 DescriptorComparator<FloatVectorDescriptor> getFloatMetricsComparator(FloatVectorMetrics comparator)
          Get comparator.
 
Methods inherited from interface com.chemaxon.descriptors.common.DescriptorGenerator
fromByteArray, fromString, generateDescriptor, getBareDescriptor, getDefaultComparator, getGuardObject, getParameters, toByteArray, toString
 

Method Detail

getFloatMetricsComparator

DescriptorComparator<FloatVectorDescriptor> getFloatMetricsComparator(FloatVectorMetrics comparator)
Get comparator.

Parameters:
comparator - Metrics to use
Returns:
Comparator with the given metric

fromFloats

FloatVectorDescriptor fromFloats(float[] floats)
Create a descriptor from a custom representation.

Parameters:
floats - Values to represent
Returns:
Descriptor representing the given values.
Throws:
IllegalArgumentException - when given array length differs from the represented descriptor length specified by FvParameters.getLength()

jklustor-all-api-0.0.7-20140619012755 (ChemAxon)