adams.data.weka.rowfinder
Class AbstractFilteredRowFinder

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.data.weka.rowfinder.AbstractRowFinder
              extended by adams.data.weka.rowfinder.AbstractTrainableRowFinder
                  extended by adams.data.weka.rowfinder.AbstractFilteredRowFinder
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<RowFinder>, SizeOfHandler, RowFinder, TrainableRowFinder, Serializable
Direct Known Subclasses:
Invert

public abstract class AbstractFilteredRowFinder
extends AbstractTrainableRowFinder

Ancestor for row finders that pre-filter the rows.

Version:
$Revision: 5755 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  RowFinder m_RowFinder
          the RowFinder to apply.
 
Fields inherited from class adams.data.weka.rowfinder.AbstractTrainableRowFinder
m_Trained
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractFilteredRowFinder()
           
 
Method Summary
 void defineOptions()
          Adds options to the internal list of options.
protected  boolean doTrainRowFinder(weka.core.Instances data)
          Performs the actual training of the row finder with the specified dataset.
 RowFinder getRowFinder()
          Returns the row finder in use.
 String rowFinderTipText()
          Returns the tip text for this property.
 void setRowFinder(RowFinder value)
          Sets the row finder to use.
 
Methods inherited from class adams.data.weka.rowfinder.AbstractTrainableRowFinder
check, isRowFinderTrained, reset, trainRowFinder
 
Methods inherited from class adams.data.weka.rowfinder.AbstractRowFinder
arrayToHashSet, compareTo, doFindRows, equals, findRows, forCommandLine, forName, getRowFinders, shallowCopy, shallowCopy
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface adams.data.weka.rowfinder.RowFinder
findRows
 

Field Detail

m_RowFinder

protected RowFinder m_RowFinder
the RowFinder to apply.

Constructor Detail

AbstractFilteredRowFinder

public AbstractFilteredRowFinder()
Method Detail

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractOptionHandler

setRowFinder

public void setRowFinder(RowFinder value)
Sets the row finder to use.

Parameters:
value - the row finder

getRowFinder

public RowFinder getRowFinder()
Returns the row finder in use.

Returns:
the row finder

rowFinderTipText

public String rowFinderTipText()
Returns the tip text for this property.

Returns:
tip text for this property suitable for displaying in the gui

doTrainRowFinder

protected boolean doTrainRowFinder(weka.core.Instances data)
Performs the actual training of the row finder with the specified dataset.

Specified by:
doTrainRowFinder in class AbstractTrainableRowFinder
Parameters:
data - the training data
Returns:
true if successfully trained


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.