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


com.chemaxon.descriptors.common
Interface FloatVectorDescriptor

All Superinterfaces:
Descriptor
All Known Subinterfaces:
PharmacophoreFP

@Beta
public interface FloatVectorDescriptor
extends Descriptor

FloatVectorDescriptor is a Descriptor which holds a float vector fingerprint.

FloatVectorDescriptor is a bare form descriptor.

Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

Author:
Laszlo Antal, Gabor Imre

Method Summary
 double getEuclideanNorm()
          Euclidean norm of the represented vector.
 float[] getFP()
          Gets the float array representation of the fingerprint.
 double getManhattanNorm()
          Manhattan norm of the represented vector.
 double getMaximumNorm()
          Maximum norm of the represented vector.
 
Methods inherited from interface com.chemaxon.descriptors.common.Descriptor
getDescriptorGenerator
 

Method Detail

getFP

float[] getFP()
Gets the float array representation of the fingerprint.

The returned array might be the the internal representation array so changing the values is forbidden. Please note that this behavior is not guaranteed, the returned array can be a non cached copy of the represented binary vector generated on every invocation.

Returns:
float array

getEuclideanNorm

double getEuclideanNorm()
Euclidean norm of the represented vector.

Note that the actual implementation might or might not cache the returned value.

Returns:
Square root of the sum of the squares of the coordinates
See Also:
http://en.wikipedia.org/wiki/Norm_(mathematics)#Euclidean_norm

getManhattanNorm

double getManhattanNorm()
Manhattan norm of the represented vector.

Note that the actual implementation might or might not cache the returned value.

Returns:
Sum of the squares of the coordinates
See Also:
http://en.wikipedia.org/wiki/Norm_(mathematics)#Taxicab_norm_or_Manhattan_norm, http://en.wikipedia.org/wiki/Taxicab_geometry

getMaximumNorm

double getMaximumNorm()
Maximum norm of the represented vector.

Note that the actual implementation might or might not cache the returned value.

Returns:
Maximum of the absolute values of the coordinates
See Also:
http://en.wikipedia.org/wiki/Maximum_norm

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