Module math
Package de.lmu.ifi.dbs.elki.data
Interface FeatureVector.Factory<V extends FeatureVector<? extends D>,D>
- Type Parameters:
V
- Vector typeD
- Data type of vector
- All Superinterfaces:
Parameterizable
- All Known Subinterfaces:
NumberVector.Factory<V,
N>
- Enclosing interface:
- FeatureVector<D>
public static interface FeatureVector.Factory<V extends FeatureVector<? extends D>,D>
extends Parameterizable
Factory API for this feature vector.
- Author:
- Erich Schubert
-
Method Summary
Modifier and TypeMethodDescriptionGet the default serializer for this type.Get the objects type restriction.<A> V
newFeatureVector
(A array, ArrayAdapter<D, A> adapter) Returns a new FeatureVector of V for the given values.
-
Method Details
-
newFeatureVector
Returns a new FeatureVector of V for the given values.- Type Parameters:
A
- Array type- Parameters:
array
- the values of the featureVectoradapter
- adapter class- Returns:
- a new FeatureVector of V for the given values
-
getDefaultSerializer
ByteBufferSerializer<V> getDefaultSerializer()Get the default serializer for this type. Note, this may benull
when no serializer is available.- Returns:
- Serializer
-
getRestrictionClass
Get the objects type restriction.- Returns:
- Restriction class
-