Package adams.core.discovery.genetic
Class SavitzkyGolay2NumPoints
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.discovery.AbstractDiscoveryHandler
-
- adams.core.discovery.genetic.AbstractGeneticDiscoveryHandler
-
- adams.core.discovery.genetic.AbstractGeneticIntegerDiscoveryHandler
-
- adams.core.discovery.genetic.SavitzkyGolay2NumPoints
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractDiscoveryHandler>
,SizeOfHandler
,Serializable
public class SavitzkyGolay2NumPoints extends AbstractGeneticIntegerDiscoveryHandler
SavitzkyGolay numPoints handler.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.discovery.genetic.AbstractGeneticIntegerDiscoveryHandler
m_List, m_Maximum, m_Minimum, m_Type
-
Fields inherited from class adams.core.discovery.AbstractDiscoveryHandler
m_Containers, m_InvertMatching, m_RegExp
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description SavitzkyGolay2NumPoints()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDefaultList()
Returns the default list.protected int
getDefaultMaximum()
Returns the default maximum.protected int
getDefaultMinimum()
Returns the default minimum.protected int
getValue(PropertyPath.PropertyContainer cont)
Returns the integer value from the property container.String
globalInfo()
Returns a string describing the object.protected boolean
handles(Object obj)
Checks whether this object is handled by this discovery handler.protected void
setValue(PropertyPath.PropertyContainer cont, int value)
Sets the integer value in the property container.-
Methods inherited from class adams.core.discovery.genetic.AbstractGeneticIntegerDiscoveryHandler
calcNumBits, defineOptions, doPack, doUnpack, getDefaultType, getList, getMaximum, getMinimum, getNumBits, getType, listTipText, maximumTipText, minimumTipText, setList, setMaximum, setMinimum, setType, typeTipText
-
Methods inherited from class adams.core.discovery.genetic.AbstractGeneticDiscoveryHandler
pack, performInitialization, requiresInitialization, unpack
-
Methods inherited from class adams.core.discovery.AbstractDiscoveryHandler
addContainer, getContainers, getInvertMatching, getRegExp, handles, invertMatchingTipText, regExpTipText, reset, setInvertMatching, setRegExp, shallowCopy, shallowCopy, toString
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
getDefaultMinimum
protected int getDefaultMinimum()
Returns the default minimum.- Specified by:
getDefaultMinimum
in classAbstractGeneticIntegerDiscoveryHandler
- Returns:
- the default
-
getDefaultMaximum
protected int getDefaultMaximum()
Returns the default maximum.- Specified by:
getDefaultMaximum
in classAbstractGeneticIntegerDiscoveryHandler
- Returns:
- the default
-
getDefaultList
protected String getDefaultList()
Returns the default list.- Specified by:
getDefaultList
in classAbstractGeneticIntegerDiscoveryHandler
- Returns:
- the default
-
getValue
protected int getValue(PropertyPath.PropertyContainer cont)
Returns the integer value from the property container.- Specified by:
getValue
in classAbstractGeneticIntegerDiscoveryHandler
- Parameters:
cont
- the container- Returns:
- the value
-
setValue
protected void setValue(PropertyPath.PropertyContainer cont, int value)
Sets the integer value in the property container.- Specified by:
setValue
in classAbstractGeneticIntegerDiscoveryHandler
- Parameters:
cont
- the containervalue
- the value to set
-
handles
protected boolean handles(Object obj)
Checks whether this object is handled by this discovery handler.- Specified by:
handles
in classAbstractDiscoveryHandler
- Parameters:
obj
- the object to check- Returns:
- true if handled
-
-