de.lmu.ifi.dbs.elki.datasource.filter
Class FilterByLabelFilter.Parameterizer

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizer
      extended by de.lmu.ifi.dbs.elki.datasource.filter.FilterByLabelFilter.Parameterizer
All Implemented Interfaces:
Parameterizer
Enclosing class:
FilterByLabelFilter

public static class FilterByLabelFilter.Parameterizer
extends AbstractParameterizer

Parameterization class.


Field Summary
private  boolean inverted
          Inversion flag
static OptionID LABELFILTER_PATTERN_ID
          Parameter that specifies the filter pattern (regular expression).
static OptionID LABELFILTER_PATTERN_INVERT_ID
          Flag to use the pattern in inverted mode Key: -patternfilter.invert
(package private)  Pattern pattern
          The pattern configured.
 
Constructor Summary
FilterByLabelFilter.Parameterizer()
           
 
Method Summary
protected  Object 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

LABELFILTER_PATTERN_ID

public static final OptionID LABELFILTER_PATTERN_ID
Parameter that specifies the filter pattern (regular expression).

Key: -patternfilter.pattern


LABELFILTER_PATTERN_INVERT_ID

public static final OptionID LABELFILTER_PATTERN_INVERT_ID
Flag to use the pattern in inverted mode

Key: -patternfilter.invert


pattern

Pattern pattern
The pattern configured.


inverted

private boolean inverted
Inversion flag

Constructor Detail

FilterByLabelFilter.Parameterizer

public FilterByLabelFilter.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 Object 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)