Package com.chemaxon.descriptors.common
Interface FloatVectorDescriptor
-
- All Superinterfaces:
Descriptor
,Guarded
,Serializable
- All Known Subinterfaces:
PharmacophoreFP
@Beta @PublicAPI public interface FloatVectorDescriptor extends Descriptor, Serializable
FloatVectorDescriptor is aDescriptor
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.chemaxon.descriptors.common.Guarded
Guarded.EnsureThat, Guarded.New
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.Guarded
getGuardObject
-
-
-
-
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 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
-
-