Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class SubspaceClusterModel<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.SubspaceClusterModel<V>
Type Parameters:
V - the type of RealVector handled by this Result
All Implemented Interfaces:
Result<V>, Loggable

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

todo arthur comment

Author:
Arthur Zimek

Field Summary
private  BitSet attributes
           
 
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
SubspaceClusterModel(Database<V> db, BitSet attributes)
           
 
Method Summary
 BitSet getAttributes()
          Returns the relevant attributes for this SubspaceClusterModel.
 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

attributes

private BitSet attributes
Constructor Detail

SubspaceClusterModel

public SubspaceClusterModel(Database<V> db,
                            BitSet attributes)
Parameters:
db -
attributes - the relevant attributes for this SubspaceClusterModel (first attribute is counted as number 0)
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)

getAttributes

public BitSet getAttributes()
Returns the relevant attributes for this SubspaceClusterModel.

First attribute counts as number 0.

Returns:
the relevant attributes for this SubspaceClusterModel

Release 0.1 (2008-07-10_1838)