de.lmu.ifi.dbs.elki.visualization.projector
Class HistogramProjector<V extends NumberVector<?,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
      extended by de.lmu.ifi.dbs.elki.visualization.projector.HistogramProjector<V>
Type Parameters:
V - Vector type
All Implemented Interfaces:
HierarchicalResult, Result, Projector

public class HistogramProjector<V extends NumberVector<?,?>>
extends AbstractHierarchicalResult
implements Projector

ScatterPlotProjector is responsible for producing a set of scatterplot visualizations.


Field Summary
(package private)  int dmax
          Database dimensionality
(package private)  Relation<V> rel
          Relation we project
(package private)  LinearScale[] scales
          Axis scales
 
Constructor Summary
HistogramProjector(Relation<V> rel, int maxdim)
          Constructor.
 
Method Summary
 Collection<PlotItem> arrange()
          Produce an arrangement of projections.
 String getLongName()
          A "pretty" name for the result, for use in titles, captions and menus.
 Relation<V> getRelation()
          Get the relation we project.
 String getShortName()
          A short name for the result, useful for file names.
 
Methods inherited from class de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
addChildResult, getHierarchy, setHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.HierarchicalResult
getHierarchy, setHierarchy
 

Field Detail

rel

Relation<V extends NumberVector<?,?>> rel
Relation we project


dmax

int dmax
Database dimensionality


scales

LinearScale[] scales
Axis scales

Constructor Detail

HistogramProjector

public HistogramProjector(Relation<V> rel,
                          int maxdim)
Constructor.

Parameters:
rel - Relation
maxdim - Maximum dimension to use
Method Detail

arrange

public Collection<PlotItem> arrange()
Description copied from interface: Projector
Produce an arrangement of projections.

Specified by:
arrange in interface Projector
Returns:
Arrangement.

getLongName

public String getLongName()
Description copied from interface: Result
A "pretty" name for the result, for use in titles, captions and menus.

Specified by:
getLongName in interface Result
Returns:
result name

getShortName

public String getShortName()
Description copied from interface: Result
A short name for the result, useful for file names.

Specified by:
getShortName in interface Result
Returns:
result name

getRelation

public Relation<V> getRelation()
Get the relation we project.

Returns:
Relation

Release 0.4.0 (2011-09-20_1324)