Class AbstractRowFinderWithCapabilities

  • 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, 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$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      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.core.option.AbstractOptionHandler

        cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, defineOptions, getOptionManager, toCommandLine
    • 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