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.logging.AbstractLoggable
      extended by 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

Field Summary
private static StaticLogger logger
          The logger of this class.
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
ZCurve()
           
 
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
 

Field Detail

logger

private static StaticLogger logger
The logger of this class.

Constructor Detail

ZCurve

public ZCurve()
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 discretised double values
Returns:
the z-value for the specified long values

Release 0.1 (2008-07-10_1838)