Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<V>
              extended by de.lmu.ifi.dbs.elki.algorithm.clustering.correlation.COPAA<V>
                  extended by de.lmu.ifi.dbs.elki.algorithm.clustering.correlation.COPAC<V>
Type Parameters:
V - the type of RealVector handled by this Algorithm
All Implemented Interfaces:
Algorithm<V>, Clustering<V>, Loggable, Parameterizable

public class COPAC<V extends RealVector<V,?>>
extends COPAA<V>
implements Clustering<V>

Algorithm to partition a database according to the correlation dimension of its objects and to then perform an arbitrary clustering algorithm over the partitions.

Author:
Arthur Zimek

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.clustering.correlation.COPAA
PARTITION_ALGORITHM_PARAM, partitionAlgorithm, partitionDatabase, partitionDatabaseParameters, preprocessor
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
COPAC()
          Sets the specific parameters additionally to the parameters set by the super-class.
 
Method Summary
 Description getDescription()
          Returns a description of the algorithm.
 ClusteringResult<V> getResult()
          Returns the result of the algorithm.
protected  PartitionResults<V> runPartitionAlgorithm(Database<V> database, Map<Integer,List<Integer>> partitionMap)
          Runs the partition algorithm and creates the result.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.clustering.correlation.COPAA
description, getAttributeSettings, getPartitionAlgorithm, runInTime, setParameters
 
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.utilities.optionhandling.AbstractParameterizable
addOption, checkGlobalParameterConstraints, deleteOption, description, description, getParameters, getParameterValue, getPossibleOptions, inlineDescription, isSet, setParameters
 
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
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.Algorithm
run, setTime, setVerbose
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, description, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription, setParameters
 

Constructor Detail

COPAC

public COPAC()
Sets the specific parameters additionally to the parameters set by the super-class.

Method Detail

getResult

public ClusteringResult<V> getResult()
Description copied from interface: Algorithm
Returns the result of the algorithm.

Specified by:
getResult in interface Algorithm<V extends RealVector<V,?>>
Specified by:
getResult in interface Clustering<V extends RealVector<V,?>>
Overrides:
getResult in class COPAA<V extends RealVector<V,?>>
Returns:
the result of the algorithm
See Also:
Clustering.getResult()

getDescription

public Description getDescription()
Description copied from interface: Algorithm
Returns a description of the algorithm.

Specified by:
getDescription in interface Algorithm<V extends RealVector<V,?>>
Overrides:
getDescription in class COPAA<V extends RealVector<V,?>>
Returns:
a description of the algorithm
See Also:
Algorithm.getDescription()

runPartitionAlgorithm

protected PartitionResults<V> runPartitionAlgorithm(Database<V> database,
                                                    Map<Integer,List<Integer>> partitionMap)
Description copied from class: COPAA
Runs the partition algorithm and creates the result.

Overrides:
runPartitionAlgorithm in class COPAA<V extends RealVector<V,?>>
Parameters:
database - the database to run this algorithm on
partitionMap - the map of partition IDs to object ids
Returns:
the result of the partition algorithm
See Also:
COPAA.runPartitionAlgorithm(de.lmu.ifi.dbs.elki.database.Database,java.util.Map)

Release 0.1 (2008-07-10_1838)