adams.data.spreadsheet.columnfinder
Class AbstractFilteredColumnFinder

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.data.spreadsheet.columnfinder.AbstractColumnFinder
              extended by adams.data.spreadsheet.columnfinder.AbstractTrainableColumnFinder
                  extended by adams.data.spreadsheet.columnfinder.AbstractFilteredColumnFinder
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<ColumnFinder>, SizeOfHandler, ColumnFinder, TrainableColumnFinder, Serializable
Direct Known Subclasses:
Invert, RowFilteredColumnFinder

public abstract class AbstractFilteredColumnFinder
extends AbstractTrainableColumnFinder

Ancestor for column finders that pre-filter the columns.

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

Field Summary
protected  ColumnFinder m_ColumnFinder
          the ColumnFinder to apply.
 
Fields inherited from class adams.data.spreadsheet.columnfinder.AbstractTrainableColumnFinder
m_Trained
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractFilteredColumnFinder()
           
 
Method Summary
 String columnFinderTipText()
          Returns the tip text for this property.
 void defineOptions()
          Adds options to the internal list of options.
protected  boolean doTrainColumnFinder(SpreadSheet data)
          Performs the actual training of the column finder with the specified spreadsheet.
 ColumnFinder getColumnFinder()
          Returns the column finder in use.
 void setColumnFinder(ColumnFinder value)
          Sets the column finder to use.
 
Methods inherited from class adams.data.spreadsheet.columnfinder.AbstractTrainableColumnFinder
check, isColumnFinderTrained, reset, trainColumnFinder
 
Methods inherited from class adams.data.spreadsheet.columnfinder.AbstractColumnFinder
arrayToHashSet, compareTo, doFindColumns, equals, filter, findColumns, forCommandLine, forName, getColumnFinders, 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.spreadsheet.columnfinder.ColumnFinder
findColumns
 

Field Detail

m_ColumnFinder

protected ColumnFinder m_ColumnFinder
the ColumnFinder to apply.

Constructor Detail

AbstractFilteredColumnFinder

public AbstractFilteredColumnFinder()
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

setColumnFinder

public void setColumnFinder(ColumnFinder value)
Sets the column finder to use.

Parameters:
value - the column finder

getColumnFinder

public ColumnFinder getColumnFinder()
Returns the column finder in use.

Returns:
the column finder

columnFinderTipText

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

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

doTrainColumnFinder

protected boolean doTrainColumnFinder(SpreadSheet data)
Performs the actual training of the column finder with the specified spreadsheet.

Specified by:
doTrainColumnFinder in class AbstractTrainableColumnFinder
Parameters:
data - the training data
Returns:
true if successfully trained


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