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.


Constructor Summary
Scales()
           
 
Method Summary
static
<O extends NumberVector<?,? extends Number>>
LinearScale[]
calcScales(Relation<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(Relation<O> db)
Compute a linear scale for each dimension.

Type Parameters:
O - vector type
Parameters:
db - Database
Returns:
Scales, indexed starting with 0 (like Vector, not database objects!)

Release 0.4.0 (2011-09-20_1324)