Package adams.core.discovery.genetic
Class SegmentedDownSampleNthPoints
- 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.AbstractGeneticIntegerArrayDiscoveryHandler
-
- adams.core.discovery.genetic.SegmentedDownSampleNthPoints
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<adams.core.discovery.AbstractDiscoveryHandler>
,adams.core.SizeOfHandler
,Serializable
public class SegmentedDownSampleNthPoints extends adams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
SegmentedDownSample nthPoints handler.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SegmentedDownSampleNthPoints()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getDefaultMaximum()
Returns the default maximum.protected int
getDefaultMinimum()
Returns the default minimum.protected int
getDefaultSize()
protected int[]
getValue(adams.core.discovery.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(adams.core.discovery.PropertyPath.PropertyContainer cont, int[] value)
Sets the integer value in the property container.-
Methods inherited from class adams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
calcNumBits, defineOptions, doPack, doUnpack, getMaximum, getMinimum, getNumBits, getSize, maximumTipText, minimumTipText, setMaximum, setMinimum, setSize, sizeTipText
-
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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
getDefaultSize
protected int getDefaultSize()
- Specified by:
getDefaultSize
in classadams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
-
getDefaultMinimum
protected int getDefaultMinimum()
Returns the default minimum.- Specified by:
getDefaultMinimum
in classadams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
- Returns:
- the default
-
getDefaultMaximum
protected int getDefaultMaximum()
Returns the default maximum.- Specified by:
getDefaultMaximum
in classadams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
- Returns:
- the default
-
getValue
protected int[] getValue(adams.core.discovery.PropertyPath.PropertyContainer cont)
Returns the integer value from the property container.- Specified by:
getValue
in classadams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
- Parameters:
cont
- the container- Returns:
- the value
-
setValue
protected void setValue(adams.core.discovery.PropertyPath.PropertyContainer cont, int[] value)
Sets the integer value in the property container.- Specified by:
setValue
in classadams.core.discovery.genetic.AbstractGeneticIntegerArrayDiscoveryHandler
- 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 classadams.core.discovery.AbstractDiscoveryHandler
- Parameters:
obj
- the object to check- Returns:
- true if handled
-
-