adams.data.weka.rowfinder
Class AbstractRowFinderWithCapabilities

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.AbstractRowFinderWithCapabilities
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<RowFinder>, SizeOfHandler, RowFinder, Serializable, weka.core.CapabilitiesHandler

public abstract class AbstractRowFinderWithCapabilities
extends AbstractRowFinder
implements weka.core.CapabilitiesHandler

Ancestor for classes that find rows of interest in datasets.

Requires the data to meet the required capabilities.

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

Field Summary
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractRowFinderWithCapabilities()
           
 
Method Summary
protected  void check(weka.core.Instances data)
          Checks the data.
abstract  weka.core.Capabilities getCapabilities()
          Returns the capabilities of this object.
 
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, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, 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
 

Constructor Detail

AbstractRowFinderWithCapabilities

public AbstractRowFinderWithCapabilities()
Method Detail

getCapabilities

public abstract weka.core.Capabilities getCapabilities()
Returns the capabilities of this object.

Specified by:
getCapabilities in interface weka.core.CapabilitiesHandler
Returns:
the capabilities of this object
See Also:
Capabilities

check

protected void check(weka.core.Instances data)
Checks the data.

Checks the data against the capabilities.

Overrides:
check in class AbstractRowFinder
Parameters:
data - the data to check


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