de.lmu.ifi.dbs.elki.distance.similarityfunction
Class AbstractIndexBasedSimilarityFunction.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.similarityfunction.AbstractIndexBasedSimilarityFunction.Parameterizer<F>
All Implemented Interfaces:
Parameterizer
Direct Known Subclasses:
FractionalSharedNearestNeighborSimilarityFunction.Parameterizer, SharedNearestNeighborSimilarityFunction.Parameterizer
Enclosing class:
AbstractIndexBasedSimilarityFunction<O,I extends Index,R,D extends Distance<D>>

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

Parameterization class.


Field Summary
protected  F factory
          The index factory we use.
 
Constructor Summary
AbstractIndexBasedSimilarityFunction.Parameterizer()
           
 
Method Summary
protected  void configIndexFactory(Parameterization config, Class<?> restrictionClass, Class<?> defaultClass)
          Get the 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

AbstractIndexBasedSimilarityFunction.Parameterizer

public AbstractIndexBasedSimilarityFunction.Parameterizer()
Method Detail

configIndexFactory

protected void configIndexFactory(Parameterization config,
                                  Class<?> restrictionClass,
                                  Class<?> defaultClass)
Get the index factory parameter.

Parameters:
config - Parameterization
restrictionClass - Restriction class
defaultClass - Default class

Release 0.4.0 (2011-09-20_1324)