Package adams.opt.genetic.setupupload
Class Null
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,FlowContextHandler
,Serializable
public class Null extends AbstractSetupUpload
Dummy, does not nothing.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.opt.genetic.setupupload.AbstractSetupUpload
KEY_FITNESS, KEY_MEASURE, m_Experiment, m_FlowContext
-
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 Null()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doFinish(AbstractGeneticAlgorithm algorithm, String error, Map<String,Object> params)
Finishing up the genetic algorithm run.protected void
doStart(AbstractGeneticAlgorithm algorithm)
Before Starting the uploads, ie the genetic algorithm run.protected String
doUpload(Map<String,Object> setup)
Uploads the setup.String
globalInfo()
Returns a string describing the object.boolean
requiresFlowContext()
Returns whether flow context is required.-
Methods inherited from class adams.opt.genetic.setupupload.AbstractSetupUpload
defineOptions, experimentTipText, finish, getExperiment, getFlowContext, setExperiment, setFlowContext, start, toProperties, upload
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
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
-
requiresFlowContext
public boolean requiresFlowContext()
Returns whether flow context is required.- Specified by:
requiresFlowContext
in classAbstractSetupUpload
- Returns:
- true if required
-
doStart
protected void doStart(AbstractGeneticAlgorithm algorithm)
Before Starting the uploads, ie the genetic algorithm run.- Specified by:
doStart
in classAbstractSetupUpload
- Parameters:
algorithm
- the algorithm initiating the run
-
doUpload
protected String doUpload(Map<String,Object> setup)
Uploads the setup.- Specified by:
doUpload
in classAbstractSetupUpload
- Parameters:
setup
- the setup data to upload- Returns:
- null if successful, otherwise error message
-
doFinish
protected void doFinish(AbstractGeneticAlgorithm algorithm, String error, Map<String,Object> params)
Finishing up the genetic algorithm run.- Specified by:
doFinish
in classAbstractSetupUpload
- Parameters:
algorithm
- the algorithm that initiated the runerror
- null if successful, otherwise error messageparams
- the parameters to store
-
-