Class FilteredFeatureGenerator

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<AbstractFeatureGenerator>, adams.core.SizeOfHandler, adams.db.DatabaseConnectionHandler, adams.db.DatabaseConnectionProvider, adams.db.DatabaseConnectionUser, Serializable, Comparable

    public class FilteredFeatureGenerator
    extends AbstractDatabaseConnectionFeatureGenerator
    This feature generator first pushes the data through the provided data filter before applying the actual feature generator. The updated data obtained from the feature generator then replaces the report of the original data container.

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to
        the console (0 = off).
        default: 0
        minimum: 0
    -prefix <java.lang.String> (property: prefix)
        The prefix to use in the field for the generated features.
        default: Feature
    -filter <> (property: filter)
        The filter to apply to the heatmap before pushing it through the feature
    -generator <> (property: generator)
        The generator to apply to the filtered data.
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Filter

        protected m_Filter
        the pre-filter for filtering the data.
    • Constructor Detail

      • FilteredFeatureGenerator

        public FilteredFeatureGenerator()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        a description suitable for displaying in the gui
      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        defineOptions in class AbstractFeatureGenerator
      • setFilter

        public void setFilter​( value)
        Sets the filter.
        value - the filter
      • getFilter

        public getFilter()
        Returns the filter.
        the filter
      • filterTipText

        public String filterTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the gui
      • setGenerator

        public void setGenerator​(AbstractFeatureGenerator value)
        Sets the generator.
        value - the generator
      • generatorTipText

        public String generatorTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the gui