adams.data.featuregenerator
Class Min

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.data.featuregenerator.AbstractFeatureGenerator
              extended by adams.data.featuregenerator.Min
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<AbstractFeatureGenerator>, SizeOfHandler, Serializable, Comparable

public class Min
extends AbstractFeatureGenerator

Outputs the smallest intensity value in the heatmap as feature.

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
 

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

Field Summary
 
Fields inherited from class adams.data.featuregenerator.AbstractFeatureGenerator
m_Prefix, PREFIX_FEATURE
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
Min()
           
 
Method Summary
 String globalInfo()
          Returns a string describing the object.
protected  Heatmap processData(Heatmap data)
          Performs the actual feature generation.
 
Methods inherited from class adams.data.featuregenerator.AbstractFeatureGenerator
addFeature, addFeature, checkData, cleanUp, compareTo, defineOptions, equals, forCommandLine, forName, generate, getDefaultPrefix, getGenerators, getPrefix, prefixTipText, reset, setPrefix, shallowCopy, shallowCopy
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, 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

Min

public Min()
Method Detail

globalInfo

public String globalInfo()
Returns a string describing the object.

Specified by:
globalInfo in class AbstractOptionHandler
Returns:
a description suitable for displaying in the gui

processData

protected Heatmap processData(Heatmap data)
Performs the actual feature generation.

Specified by:
processData in class AbstractFeatureGenerator
Parameters:
data - the data to process
Returns:
the processed data


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