Package adams.data.weka.rowfinder
Class Invert
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<RowFinder>
,adams.core.SizeOfHandler
,RowFinder
,TrainableRowFinder
,Serializable
public class Invert extends AbstractFilteredRowFinder
Inverts the selected rows of the provided sub-row-filter.- Version:
- $Revision$
- 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
-
-
Constructor Summary
Constructors Constructor Description Invert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.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 classAbstractRowFinder
- Parameters:
data
- the dataset to inspect- Returns:
- the rows of interest
-
-