Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class CLIQUEModel<V extends RealVector<V,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult<V>
          extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.CLIQUEModel<V>
Type Parameters:
V - the type of RealVector handled by this Result
All Implemented Interfaces:
Result<V>, Loggable

public class CLIQUEModel<V extends RealVector<V,?>>
extends AbstractResult<V>

Represents a cluster model for a cluster in the CLIQUE algorithm. Provides information of the subspace of the cluster.

Author:
Elke Achtert

Field Summary
private  CLIQUESubspace<V> subspace
          The supspace of this model.
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
db, FILE_EXTENSION
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Fields inherited from interface de.lmu.ifi.dbs.elki.algorithm.result.Result
SEPARATOR
 
Constructor Summary
CLIQUEModel(Database<V> db, CLIQUESubspace<V> subspace)
          Creates a new cluster model for a cluster in the CLIQUE algorithm with the specified parameters.
 
Method Summary
 CLIQUESubspace<V> getSubspace()
          Returns the subspace of this model.
 void output(PrintStream outStream, Normalization<V> normalization, List<AttributeSettings> settings)
          Writes the clustering result to the given stream.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
getDatabase, output, writeHeader
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subspace

private CLIQUESubspace<V extends RealVector<V,?>> subspace
The supspace of this model.

Constructor Detail

CLIQUEModel

public CLIQUEModel(Database<V> db,
                   CLIQUESubspace<V> subspace)
Creates a new cluster model for a cluster in the CLIQUE algorithm with the specified parameters.

Parameters:
db - the database containing the objects of this model
subspace - the supspace of this model
Method Detail

output

public void output(PrintStream outStream,
                   Normalization<V> normalization,
                   List<AttributeSettings> settings)
            throws UnableToComplyException
Description copied from interface: Result
Writes the clustering result to the given stream.

Parameters:
outStream - the stream to write to
normalization - Normalization to restore original values according to, if this action is supported - may remain null.
settings - the settings to be written into the header, if this parameter is null, no header will be written
Throws:
UnableToComplyException - if any feature vector is not compatible with values initialized during normalization
See Also:
Result.output(java.io.PrintStream,de.lmu.ifi.dbs.elki.normalization.Normalization,java.util.List)

getSubspace

public CLIQUESubspace<V> getSubspace()
Returns the subspace of this model.

Returns:
the subspace of this model

Release 0.1 (2008-07-10_1838)