Package adams.core.discovery.genetic
Class AbstractGeneticFloatDiscoveryHandler
- 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.AbstractGeneticFloatDiscoveryHandler
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractDiscoveryHandler>
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
AbstractGeneticFloatDiscoveryHandlerResolution
public abstract class AbstractGeneticFloatDiscoveryHandler extends AbstractGeneticDiscoveryHandler
Ancestor for genetic discovery handlers that handle integer properties.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
m_List
the list of values.protected float
m_Maximum
the maximum.protected float
m_Minimum
the minimum.protected NumericValueType
m_Type
the type of values to use.-
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 AbstractGeneticFloatDiscoveryHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected abstract String
getDefaultList()
Returns the default list.protected abstract float
getDefaultMaximum()
Returns the default maximum.protected abstract float
getDefaultMinimum()
Returns the default minimum.protected NumericValueType
getDefaultType()
Returns the default type.String
getList()
Returns the list of values to use (blank-separated).float
getMaximum()
Returns the maximum.float
getMinimum()
Returns the minimum.NumericValueType
getType()
Returns the type.String
listTipText()
Returns the tip text for this property.String
maximumTipText()
Returns the tip text for this property.String
minimumTipText()
Returns the tip text for this property.void
setList(String value)
Sets the list of values to use (blank-separated).void
setMaximum(float value)
Sets the maximum.void
setMinimum(float value)
Sets the minimum.void
setType(NumericValueType value)
Sets the type.String
typeTipText()
Returns the tip text for this property.-
Methods inherited from class adams.core.discovery.genetic.AbstractGeneticDiscoveryHandler
doPack, doUnpack, getNumBits, pack, performInitialization, requiresInitialization, unpack
-
Methods inherited from class adams.core.discovery.AbstractDiscoveryHandler
addContainer, getContainers, getInvertMatching, getRegExp, handles, handles, invertMatchingTipText, regExpTipText, reset, setInvertMatching, setRegExp, shallowCopy, shallowCopy, toString
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, 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
-
-
-
-
Field Detail
-
m_Type
protected NumericValueType m_Type
the type of values to use.
-
m_Minimum
protected float m_Minimum
the minimum.
-
m_Maximum
protected float m_Maximum
the maximum.
-
m_List
protected float[] m_List
the list of values.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractDiscoveryHandler
-
getDefaultType
protected NumericValueType getDefaultType()
Returns the default type.- Returns:
- the default
-
setType
public void setType(NumericValueType value)
Sets the type.- Parameters:
value
- the type
-
getType
public NumericValueType getType()
Returns the type.- Returns:
- the type
-
typeTipText
public String typeTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getDefaultMinimum
protected abstract float getDefaultMinimum()
Returns the default minimum.- Returns:
- the default
-
setMinimum
public void setMinimum(float value)
Sets the minimum.- Parameters:
value
- the minimum
-
getMinimum
public float getMinimum()
Returns the minimum.- Returns:
- the minimum
-
minimumTipText
public String minimumTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getDefaultMaximum
protected abstract float getDefaultMaximum()
Returns the default maximum.- Returns:
- the default
-
setMaximum
public void setMaximum(float value)
Sets the maximum.- Parameters:
value
- the maximum
-
getMaximum
public float getMaximum()
Returns the maximum.- Returns:
- the maximum
-
maximumTipText
public String maximumTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getDefaultList
protected abstract String getDefaultList()
Returns the default list.- Returns:
- the default
-
setList
public void setList(String value)
Sets the list of values to use (blank-separated).- Parameters:
value
- the list
-
getList
public String getList()
Returns the list of values to use (blank-separated).- Returns:
- the list
-
listTipText
public String listTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-