|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
V - Vector classD - Data typepublic interface FeatureVector<V extends FeatureVector<V,D>,D>
Generic FeatureVector class that can contain any type of data (i.e. numerical
or categorical attributes). See NumberVector for vectors that
actually store numerical features.
| Method Summary | |
|---|---|
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. |
V |
newInstance(D[] values)
Returns a new FeatureVector of V for the given values. |
V |
newInstance(List<D> values)
Returns a new FeatureVector of V for the given values. |
String |
toString()
Returns a String representation of the FeatureVector of V as a line that is suitable to be printed in a sequential file. |
| Methods inherited from interface de.lmu.ifi.dbs.elki.data.DatabaseObject |
|---|
equals, getID, setID |
| Method Detail |
|---|
V newInstance(D[] values)
values - the values of the featureVector
V newInstance(List<D> values)
values - the values of the featureVector
int getDimensionality()
D getValue(int dimension)
dimension - the desired dimension, where 1 ≤ dimension ≤
this.getDimensionality()
String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||