de.lmu.ifi.dbs.elki.application.cache
Class CacheDoubleDistanceInOnDiskMatrix.Parameterizer<O,D extends NumberDistance<D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.application.AbstractApplication.Parameterizer
          extended by de.lmu.ifi.dbs.elki.application.cache.CacheDoubleDistanceInOnDiskMatrix.Parameterizer<O,D>
All Implemented Interfaces:
Parameterizer
Enclosing class:
CacheDoubleDistanceInOnDiskMatrix<O,D extends NumberDistance<D,?>>

public static class CacheDoubleDistanceInOnDiskMatrix.Parameterizer<O,D extends NumberDistance<D,?>>
extends AbstractApplication.Parameterizer

Parameterization class.


Field Summary
private  Database database
          Holds the database connection to have the algorithm run with.
private  DistanceFunction<O,D> distance
          Distance function that is to be cached.
private  File out
          Output file.
 
Fields inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication.Parameterizer
verbose
 
Constructor Summary
CacheDoubleDistanceInOnDiskMatrix.Parameterizer()
           
 
Method Summary
protected  CacheDoubleDistanceInOnDiskMatrix<O,D> makeInstance()
          Make an instance after successful configuration.
protected  void makeOptions(Parameterization config)
          Add all options.
 
Methods inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication.Parameterizer
configVerbose, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
configure, make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

database

private Database database
Holds the database connection to have the algorithm run with.


distance

private DistanceFunction<O,D extends NumberDistance<D,?>> distance
Distance function that is to be cached.


out

private File out
Output file.

Constructor Detail

CacheDoubleDistanceInOnDiskMatrix.Parameterizer

public CacheDoubleDistanceInOnDiskMatrix.Parameterizer()
Method Detail

makeOptions

protected void makeOptions(Parameterization config)
Description copied from class: AbstractParameterizer
Add all options. ALWAYS call super.makeOptions(config), unless you have a strong reason to do otherwise!

Overrides:
makeOptions in class AbstractApplication.Parameterizer
Parameters:
config - Parameterization to add options to.

makeInstance

protected CacheDoubleDistanceInOnDiskMatrix<O,D> makeInstance()
Description copied from class: AbstractParameterizer
Make an instance after successful configuration.

Specified by:
makeInstance in class AbstractApplication.Parameterizer
Returns:
instance

Release 0.4.0 (2011-09-20_1324)