@Beta @PublicAPI public interface FloatVectorDescriptor extends Descriptor, Serializable
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.
Guarded.EnsureThat, Guarded.New
Modifier and Type | Method and 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.
|
getGuardObject
float[] getFP()
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.
double getEuclideanNorm()
Note that the actual implementation might or might not cache the returned value.
double getManhattanNorm()
Note that the actual implementation might or might not cache the returned value.
double getMaximumNorm()
Note that the actual implementation might or might not cache the returned value.