|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.math.spacefillingcurves.ZCurve.Transformer
public static class ZCurve.Transformer
Class to transform a relation to its Z coordinates.
Field Summary | |
---|---|
private int |
dimensionality
Dimensionality |
private double[] |
maxValues
Maximum values in each dimension |
private double[] |
minValues
Minimum values in each dimension |
Constructor Summary | |
---|---|
ZCurve.Transformer(Relation<? extends NumberVector<?,?>> relation,
DBIDs ids)
Constructor. |
Method Summary | |
---|---|
BigInteger |
asBigInteger(NumberVector<?,?> vector)
Transform a single vector. |
byte[] |
asByteArray(NumberVector<?,?> vector)
Transform a single vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final double[] maxValues
private final double[] minValues
private final int dimensionality
Constructor Detail |
---|
public ZCurve.Transformer(Relation<? extends NumberVector<?,?>> relation, DBIDs ids)
relation
- Relation to transformids
- IDs subset to processMethod Detail |
---|
public BigInteger asBigInteger(NumberVector<?,?> vector)
vector
- Vector to transform
public byte[] asByteArray(NumberVector<?,?> vector)
vector
- Vector to transform
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |