de.lmu.ifi.dbs.elki.index.preprocessed
Class AbstractPreprocessorIndex<O,R>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.AbstractIndex<O>
      extended by de.lmu.ifi.dbs.elki.index.preprocessed.AbstractPreprocessorIndex<O,R>
Type Parameters:
O - Object type
R - Stored data type
All Implemented Interfaces:
Index, Result
Direct Known Subclasses:
AbstractFilteredPCAIndex, AbstractMaterializeKNNPreprocessor, AbstractPreferenceVectorIndex, AbstractSubspaceProjectionIndex, SharedNearestNeighborPreprocessor

public abstract class AbstractPreprocessorIndex<O,R>
extends AbstractIndex<O>

Abstract base class for simple preprocessor based indexes, requiring a simple object storage for preprocessing results.


Field Summary
protected  WritableDataStore<R> storage
          The data store
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.AbstractIndex
relation
 
Constructor Summary
AbstractPreprocessorIndex(Relation<O> relation)
          Constructor.
 
Method Summary
protected abstract  Logging getLogger()
          Get the classes static logger.
 
Methods inherited from class de.lmu.ifi.dbs.elki.index.AbstractIndex
delete, deleteAll, getLongName, getPageFileStatistics, getShortName, insert, insertAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storage

protected WritableDataStore<R> storage
The data store

Constructor Detail

AbstractPreprocessorIndex

public AbstractPreprocessorIndex(Relation<O> relation)
Constructor.

Method Detail

getLogger

protected abstract Logging getLogger()
Get the classes static logger.

Returns:
Logger

Release 0.4.0 (2011-09-20_1324)