public interface FeatureVector<D>
NumberVector for vectors that
actually store numerical features.| Modifier and Type | Interface and Description |
|---|---|
static interface |
FeatureVector.Factory<V extends FeatureVector<? extends D>,D>
Factory API for this feature vector.
|
| Modifier and Type | Field and Description |
|---|---|
static VectorTypeInformation<FeatureVector<?>> |
TYPE
Input type: Any feature vector type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDimensionality()
The dimensionality of the vector space where of this FeatureVector of V is
an element.
|
D |
getValue(int dimension)
Returns the value in the specified dimension.
|
java.lang.String |
toString()
Returns a String representation of the FeatureVector of V as a line that is
suitable to be printed in a sequential file.
|
static final VectorTypeInformation<FeatureVector<?>> TYPE
int getDimensionality()
D getValue(int dimension)
dimension - the desired dimension, where 0 ≤ dimension ≤
this.getDimensionality()-1java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019 ELKI Development Team. License information.