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:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.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
-
-
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
-
-
-
-
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
-
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
-
-