Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.clustering
Class TrivialAllNoise<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<O,Clustering<Model>>
          extended by de.lmu.ifi.dbs.elki.algorithm.clustering.TrivialAllNoise<O>
Type Parameters:
O - Object type
All Implemented Interfaces:
Algorithm<O,Clustering<Model>>, ClusteringAlgorithm<Clustering<Model>,O>, Parameterizable

@Title(value="Trivial all-noise clustering")
@Description(value="Returns a \'trivial\' clustering which just considers all points as noise points.")
public class TrivialAllNoise<O extends DatabaseObject>
extends AbstractAlgorithm<O,Clustering<Model>>
implements ClusteringAlgorithm<Clustering<Model>,O>

Trivial pseudo-clustering that just considers all points to be noise. Useful for evaluation and testing.

Author:
Erich Schubert

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
TrivialAllNoise()
          Constructor, adhering to Parameterizable
TrivialAllNoise(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
protected  Clustering<Model> runInTime(Database<O> database)
          Run the actual clustering algorithm.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
isTime, isVerbose, run, setTime, setVerbose
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
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.algorithm.clustering.ClusteringAlgorithm
run
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.Algorithm
setTime, setVerbose
 

Constructor Detail

TrivialAllNoise

public TrivialAllNoise(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization

TrivialAllNoise

public TrivialAllNoise()
Constructor, adhering to Parameterizable

Method Detail

runInTime

protected Clustering<Model> runInTime(Database<O> database)
                               throws IllegalStateException
Run the actual clustering algorithm.

Specified by:
runInTime in class AbstractAlgorithm<O extends DatabaseObject,Clustering<Model>>
Parameters:
database - The database to process
Returns:
the Result computed by this algorithm
Throws:
IllegalStateException - if the algorithm has not been initialized properly (e.g. the setParameters(String[]) method has been failed to be called).

Release 0.3 (2010-03-31_1612)