Class Max

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter, adams.core.ShallowCopySupporter<AbstractHeatmapFeatureGenerator>, adams.core.SizeOfHandler, Serializable, Comparable

    public class Max
    extends AbstractHeatmapFeatureGenerator
    Extracts the highest value.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -converter <> (property: converter)
        The feature converter to use to produce the output data.
        default: -data-row-type -spreadsheet-type
    -field <> [-field ...] (property: fields)
        The fields to add to the output.
    -notes <adams.core.base.BaseString> [-notes ...] (property: notes)
        The notes to add as attributes to the generated data, eg 'PROCESS INFORMATION'
    -output-position <boolean> (property: outputPosition)
        If enabled, the position of the maximum gets output as well (x/y; 0-based).
        default: false
    $Revision: 9598 $
    fracpete (fracpete at waikato dot ac dot nz), Dale (dale at cs dot waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_OutputPosition

        protected boolean m_OutputPosition
        whether to output the position as well.
    • Constructor Detail

      • Max

        public Max()
    • 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 AbstractHeatmapFeatureGenerator
      • setOutputPosition

        public void setOutputPosition​(boolean value)
        Sets whether to output the position as well.
        value - whether to output the position
      • getOutputPosition

        public boolean getOutputPosition()
        Returns whether to output the position as well.
        true if to output the position as well
      • outputPositionTipText

        public String outputPositionTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • createHeader

        public createHeader​(Heatmap map)
        Creates the header from a template heatmap.
        Specified by:
        createHeader in class AbstractHeatmapFeatureGenerator
        map - the heatmap to act as a template
        the generated header