de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.weighted
Class LinearWeightedExtendedNeighborhood.Factory.Parameterizer<O>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.spatial.neighborhood.weighted.LinearWeightedExtendedNeighborhood.Factory.Parameterizer<O>
All Implemented Interfaces:
Parameterizer
Enclosing class:
LinearWeightedExtendedNeighborhood.Factory<O>

public static class LinearWeightedExtendedNeighborhood.Factory.Parameterizer<O>
extends AbstractParameterizer

Parameterization class.


Field Summary
private  NeighborSetPredicate.Factory<O> inner
          Inner neighbor set predicate
static OptionID NEIGHBORHOOD_ID
          Parameter to specify the neighborhood predicate to use.
private  int steps
          The number of steps to do.
static OptionID STEPS_ID
          Parameter to specify the number of steps allowed
 
Constructor Summary
LinearWeightedExtendedNeighborhood.Factory.Parameterizer()
           
 
Method Summary
protected static
<O> NeighborSetPredicate.Factory<O>
getParameterInnerNeighborhood(Parameterization config)
          Inner neighborhood parameter.
static int getParameterSteps(Parameterization config)
          Get the number of steps to do in the neighborhood graph.
protected  LinearWeightedExtendedNeighborhood.Factory<O> 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

NEIGHBORHOOD_ID

public static final OptionID NEIGHBORHOOD_ID
Parameter to specify the neighborhood predicate to use.


STEPS_ID

public static final OptionID STEPS_ID
Parameter to specify the number of steps allowed


steps

private int steps
The number of steps to do.


inner

private NeighborSetPredicate.Factory<O> inner
Inner neighbor set predicate

Constructor Detail

LinearWeightedExtendedNeighborhood.Factory.Parameterizer

public LinearWeightedExtendedNeighborhood.Factory.Parameterizer()
Method Detail

getParameterInnerNeighborhood

protected static <O> NeighborSetPredicate.Factory<O> getParameterInnerNeighborhood(Parameterization config)
Inner neighborhood parameter.

Parameters:
config - Parameterization
Returns:
Inner neighborhood.

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.

getParameterSteps

public static int getParameterSteps(Parameterization config)
Get the number of steps to do in the neighborhood graph.

Parameters:
config - Parameterization
Returns:
number of steps, default 1

makeInstance

protected LinearWeightedExtendedNeighborhood.Factory<O> 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)