adams.data.weka.rowfinder
Class Invert

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
                      extended by adams.data.weka.rowfinder.Invert
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<RowFinder>, SizeOfHandler, RowFinder, TrainableRowFinder, Serializable

public class Invert
extends AbstractFilteredRowFinder

Inverts the selected rows of the provided sub-row-filter.

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

Field Summary
 
Fields inherited from class adams.data.weka.rowfinder.AbstractFilteredRowFinder
m_RowFinder
 
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
Invert()
           
 
Method Summary
protected  int[] doFindRows(weka.core.Instances data)
          Returns the rows of interest in the dataset.
 String globalInfo()
          Returns a string describing the object.
 
Methods inherited from class adams.data.weka.rowfinder.AbstractFilteredRowFinder
defineOptions, doTrainRowFinder, getRowFinder, rowFinderTipText, setRowFinder
 
Methods inherited from class adams.data.weka.rowfinder.AbstractTrainableRowFinder
check, isRowFinderTrained, reset, trainRowFinder
 
Methods inherited from class adams.data.weka.rowfinder.AbstractRowFinder
arrayToHashSet, compareTo, equals, findRows, forCommandLine, forName, getRowFinders, shallowCopy, shallowCopy
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, 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
 

Constructor Detail

Invert

public Invert()
Method Detail

globalInfo

public String globalInfo()
Returns a string describing the object.

Specified by:
globalInfo in class AbstractOptionHandler
Returns:
a description suitable for displaying in the gui

doFindRows

protected int[] doFindRows(weka.core.Instances data)
Returns the rows of interest in the dataset.

Specified by:
doFindRows in class AbstractRowFinder
Parameters:
data - the dataset to inspect
Returns:
the rows of interest


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