de.lmu.ifi.dbs.elki.math.spacefillingcurves
Class ZCurve
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.math.spacefillingcurves.ZCurve
- All Implemented Interfaces:
- Loggable
public class ZCurve
- extends AbstractLoggable
Computes the z-values for specified double values.
- Author:
- Elke Achtert
Method Summary |
private static byte[] |
zValue(long[] longValues)
Computes the z-value for the specified long values |
static List<byte[]> |
zValues(List<double[]> valuesList)
Computes the z-values for the specified double values. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static StaticLogger logger
- The logger of this class.
ZCurve
public ZCurve()
zValues
public static List<byte[]> zValues(List<double[]> valuesList)
- Computes the z-values for the specified double values.
- Parameters:
valuesList
- the list of double values
- Returns:
- the z-values for the specified double values
zValue
private static byte[] zValue(long[] longValues)
- Computes the z-value for the specified long values
- Parameters:
longValues
- the array of the discretised double values
- Returns:
- the z-value for the specified long values