Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.scales
Class Scales

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.scales.Scales

public class Scales
extends Object

Scales helper class. Currently, this will just compute a linear scale for each axis. It is planned to add functionality to include some analysis to be able to automatically choose log scales when appropriate.

Author:
Erich Schubert

Constructor Summary
Scales()
           
 
Method Summary
static
<O extends NumberVector<?,? extends Number>>
LinearScale[]
calcScales(Database<O> db)
          Compute a linear scale for each dimension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scales

public Scales()
Method Detail

calcScales

public static <O extends NumberVector<?,? extends Number>> LinearScale[] calcScales(Database<O> db)
Compute a linear scale for each dimension.

Type Parameters:
O - vector type
Parameters:
db - Database
Returns:
Scales, indexed starting with 1 (just like the database)

Release 0.3 (2010-03-31_1612)