de.lmu.ifi.dbs.elki.distance.distancefunction
Class AbstractIndexBasedDistanceFunction.Parameterizer<F extends IndexFactory<?,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction.Parameterizer<F>
Type Parameters:
F - Factory type
All Implemented Interfaces:
Parameterizer
Direct Known Subclasses:
AbstractPreferenceVectorBasedCorrelationDistanceFunction.Parameterizer, ERiCDistanceFunction.Parameterizer, LocallyWeightedDistanceFunction.Parameterizer, PCABasedCorrelationDistanceFunction.Parameterizer, SharedNearestNeighborJaccardDistanceFunction.Parameterizer, SubspaceDistanceFunction.Parameterizer
Enclosing class:
AbstractIndexBasedDistanceFunction<O,I extends Index,D extends Distance<D>>

public abstract static class AbstractIndexBasedDistanceFunction.Parameterizer<F extends IndexFactory<?,?>>
extends AbstractParameterizer

Parameterization class.


Field Summary
protected  F factory
          The index factory we use.
 
Constructor Summary
AbstractIndexBasedDistanceFunction.Parameterizer()
           
 
Method Summary
 void configIndexFactory(Parameterization config, Class<?> restriction, Class<?> defaultClass)
          Index factory parameter
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
configure, make, makeInstance, makeOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected F extends IndexFactory<?,?> factory
The index factory we use.

Constructor Detail

AbstractIndexBasedDistanceFunction.Parameterizer

public AbstractIndexBasedDistanceFunction.Parameterizer()
Method Detail

configIndexFactory

public void configIndexFactory(Parameterization config,
                               Class<?> restriction,
                               Class<?> defaultClass)
Index factory parameter

Parameters:
config - Parameterization
restriction - Restriction class
defaultClass - Default value

Release 0.4.0 (2011-09-20_1324)