Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.math.spacefillingcurves
Class ZCurve

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.spacefillingcurves.ZCurve

public class ZCurve
extends Object

Computes the z-values for specified double values.

Author:
Elke Achtert

Field Summary
private static Logging logger
          The logger of this class.
 
Constructor Summary
ZCurve()
          Constructor
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static Logging logger
The logger of this class.

Constructor Detail

ZCurve

public ZCurve()
Constructor

Method Detail

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 discretized double values
Returns:
the z-value for the specified long values

Release 0.3 (2010-03-31_1612)