Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.visualizers.adapter
Interface AlgorithmAdapter

All Superinterfaces:
Parameterizable
All Known Implementing Classes:
ClusteringAdapter, ClusterOrderAdapter, CurveAdapter, DefaultAdapter, HistogramAdapter, OutlierScoreAdapter, ReferencePointsAdapter, RStarTreeAdapter

public interface AlgorithmAdapter
extends Parameterizable

Defines the requirements for an algorithm-adapter.
Note: Any implementation is supposed to provide a constructor without parameters (default constructor).

Author:
Remigius Wojdanowski

Method Summary
 boolean canVisualize(VisualizerContext context)
          Returns true if the adapter can provide one or more Visualizers for the given Result, else false.
 Collection<Visualizer> getProvidedVisualizers()
          Returns a collection of Visualizers this adapter generally provides.
 Collection<Visualizer> getUsableVisualizers(VisualizerContext context)
          Returns a collection of Visualizers this adapter provides, depending on the given database and result.
 

Method Detail

canVisualize

boolean canVisualize(VisualizerContext context)
Returns true if the adapter can provide one or more Visualizers for the given Result, else false.

Parameters:
context - Context to store shared visualization properties.
Returns:
true if the adapter can provide one or more Visualizers for the given Result, else false.

getProvidedVisualizers

Collection<Visualizer> getProvidedVisualizers()
Returns a collection of Visualizers this adapter generally provides.

Returns:
a collection of Visualizers this adapter generally provides.

getUsableVisualizers

Collection<Visualizer> getUsableVisualizers(VisualizerContext context)
Returns a collection of Visualizers this adapter provides, depending on the given database and result.

Parameters:
context - Context to store shared visualization properties.
Returns:
a collection of Visualizers this adapter provides, depending on the given database and result.

Release 0.3 (2010-03-31_1612)