Package weka.experiment
Class RemoteExperimentSubTask
java.lang.Object
weka.experiment.RemoteExperimentSubTask
- All Implemented Interfaces:
Serializable,RevisionHandler,Task
Class to encapsulate an experiment as a task that can be executed on a remote
host.
- Version:
- $Revision: 13909 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Run the experimentGet the experiment for this sub taskReturns the revision string.Clients should be able to call this method at any time to obtain information on a current task.voidsetExperiment(Experiment task) Set the experiment for this sub task
-
Constructor Details
-
RemoteExperimentSubTask
public RemoteExperimentSubTask()
-
-
Method Details
-
setExperiment
Set the experiment for this sub task- Parameters:
task- the experiment
-
getExperiment
Get the experiment for this sub task- Returns:
- this sub task's experiment
-
execute
public void execute()Run the experiment -
getTaskStatus
Description copied from interface:TaskClients should be able to call this method at any time to obtain information on a current task.- Specified by:
getTaskStatusin interfaceTask- Returns:
- a TaskStatusInfo object holding info and result (if available) for this task
-
getRevision
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-