de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood
Class PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer<O,D extends Distance<D>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer<O,D>
Type Parameters:
O - Object type
D - Distance type
All Implemented Interfaces:
Parameterizer
Enclosing class:
PrecomputedKNearestNeighborNeighborhood.Factory<O,D extends Distance<D>>

public static class PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer<O,D extends Distance<D>>
extends AbstractParameterizer

Parameterization class


Field Summary
static OptionID DISTANCEFUNCTION_ID
          Parameter to specify the distance function to use
(package private)  DistanceFunction<? super O,D> distFunc
          Distance function
(package private)  int k
          Parameter k
static OptionID K_ID
          Parameter k
 
Constructor Summary
PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer()
           
 
Method Summary
protected  PrecomputedKNearestNeighborNeighborhood.Factory<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.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

K_ID

public static final OptionID K_ID
Parameter k


DISTANCEFUNCTION_ID

public static final OptionID DISTANCEFUNCTION_ID
Parameter to specify the distance function to use


k

int k
Parameter k


distFunc

DistanceFunction<? super O,D extends Distance<D>> distFunc
Distance function

Constructor Detail

PrecomputedKNearestNeighborNeighborhood.Factory.Parameterizer

public PrecomputedKNearestNeighborNeighborhood.Factory.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 AbstractParameterizer
Parameters:
config - Parameterization to add options to.

makeInstance

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

Specified by:
makeInstance in class AbstractParameterizer
Returns:
instance

Release 0.4.0 (2011-09-20_1324)