Class RemoteWekaExperimentIO
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.tools.wekamultiexperimenter.io.AbstractExperimentIO<T>
-
- adams.gui.tools.wekamultiexperimenter.io.AbstractWekaExperimentIO<weka.experiment.RemoteExperiment>
-
- adams.gui.tools.wekamultiexperimenter.io.RemoteWekaExperimentIO
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
public class RemoteWekaExperimentIO extends AbstractWekaExperimentIO<weka.experiment.RemoteExperiment>
IO handler for remote experiments.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.tools.wekamultiexperimenter.io.AbstractExperimentIO
m_FileChooser
-
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 RemoteWekaExperimentIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description weka.experiment.RemoteExperiment
create()
Creates a new experiment.AbstractExperimentRunner
createRunner(ExperimenterPanel owner)
Creates an experiment runner thread object.Class
getExperimentClass()
Returns the experiment superclass/interface.String
globalInfo()
Returns a string describing the object.weka.experiment.RemoteExperiment
load(File file)
Loads an experiment.boolean
save(weka.experiment.RemoteExperiment exp, File file)
Saves an experiment.-
Methods inherited from class adams.gui.tools.wekamultiexperimenter.io.AbstractWekaExperimentIO
createFileChooser, getSupportedFileExtensions
-
Methods inherited from class adams.gui.tools.wekamultiexperimenter.io.AbstractExperimentIO
getFileChooser
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, 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
-
create
public weka.experiment.RemoteExperiment create()
Creates a new experiment.- Specified by:
create
in classAbstractExperimentIO<weka.experiment.RemoteExperiment>
- Returns:
- the generated experiment, null if failed
-
load
public weka.experiment.RemoteExperiment load(File file)
Loads an experiment.- Specified by:
load
in classAbstractExperimentIO<weka.experiment.RemoteExperiment>
- Parameters:
file
- the file to load- Returns:
- the experiment, null if failed to load
-
save
public boolean save(weka.experiment.RemoteExperiment exp, File file)
Saves an experiment.- Specified by:
save
in classAbstractExperimentIO<weka.experiment.RemoteExperiment>
- Parameters:
exp
- the experiment to savefile
- the file to save to- Returns:
- false if failed to save
-
createRunner
public AbstractExperimentRunner createRunner(ExperimenterPanel owner) throws Exception
Creates an experiment runner thread object.- Specified by:
createRunner
in classAbstractExperimentIO<weka.experiment.RemoteExperiment>
- Parameters:
owner
- the owning experimenter- Returns:
- the runner
- Throws:
Exception
- if failed to instantiate runner
-
getExperimentClass
public Class getExperimentClass()
Returns the experiment superclass/interface.- Overrides:
getExperimentClass
in classAbstractWekaExperimentIO<weka.experiment.RemoteExperiment>
- Returns:
- the super class/interface
-
-