Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.gui
Class ResultVisualizer

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.gui.ResultVisualizer
All Implemented Interfaces:
ResultHandler<DatabaseObject,Result>, Parameterizable

public class ResultVisualizer
extends Object
implements ResultHandler<DatabaseObject,Result>

Handler to process and visualize a Result.

Author:
Erich Schubert, Remigius Wojdanowski

Field Summary
protected static String DEFAULT_TITLE
          Default title
protected static Logging logger
          Get a logger for this class.
(package private)  VisualizersForResult manager
          Visualization manager.
private  int maxdim
          Stores the maximum number of dimensions to show.
static OptionID MAXDIM_ID
          OptionID for MAXDIM_PARAM.
private  IntParameter MAXDIM_PARAM
          Parameter for the maximum number of dimensions, Code: -vis.maxdim
private  String title
          Stores the set title.
static OptionID WINDOW_TITLE_ID
          OptionID for WINDOW_TITLE_PARAM
protected  StringParameter WINDOW_TITLE_PARAM
          Parameter to specify the window title Key: -vis.window.title Default value: "ELKI Result Visualization"
 
Constructor Summary
ResultVisualizer(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
 void processResult(Database<DatabaseObject> db, Result result)
          Process a result.
 void setNormalization(Normalization<DatabaseObject> normalization)
          Setter for normalization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Logging logger
Get a logger for this class.


WINDOW_TITLE_ID

public static final OptionID WINDOW_TITLE_ID
OptionID for WINDOW_TITLE_PARAM


WINDOW_TITLE_PARAM

protected final StringParameter WINDOW_TITLE_PARAM
Parameter to specify the window title

Key: -vis.window.title

Default value: "ELKI Result Visualization"


title

private String title
Stores the set title.


DEFAULT_TITLE

protected static final String DEFAULT_TITLE
Default title

See Also:
Constant Field Values

MAXDIM_ID

public static final OptionID MAXDIM_ID
OptionID for MAXDIM_PARAM.


MAXDIM_PARAM

private IntParameter MAXDIM_PARAM
Parameter for the maximum number of dimensions,

Code: -vis.maxdim


maxdim

private int maxdim
Stores the maximum number of dimensions to show.


manager

VisualizersForResult manager
Visualization manager.

Constructor Detail

ResultVisualizer

public ResultVisualizer(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization
Method Detail

processResult

public void processResult(Database<DatabaseObject> db,
                          Result result)
Description copied from interface: ResultHandler
Process a result.

Specified by:
processResult in interface ResultHandler<DatabaseObject,Result>
Parameters:
db - Database the result is for
result - Result object

setNormalization

public void setNormalization(Normalization<DatabaseObject> normalization)
Description copied from interface: ResultHandler
Setter for normalization

Specified by:
setNormalization in interface ResultHandler<DatabaseObject,Result>
Parameters:
normalization - new normalization object

Release 0.3 (2010-03-31_1612)