adams.data.spreadsheet.rowfinder
Class AbstractFilteredRowFinder
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.spreadsheet.rowfinder.AbstractRowFinder
adams.data.spreadsheet.rowfinder.AbstractTrainableRowFinder
adams.data.spreadsheet.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: 6066 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
m_RowFinder
protected RowFinder m_RowFinder
- the RowFinder to apply.
AbstractFilteredRowFinder
public AbstractFilteredRowFinder()
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(SpreadSheet data)
- Performs the actual training of the row finder with the specified spreadsheet.
- 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.