Class RemoteExperimentSubTask

java.lang.Object
weka.experiment.RemoteExperimentSubTask
All Implemented Interfaces:
Serializable, RevisionHandler, Task

public class RemoteExperimentSubTask extends Object implements Task, RevisionHandler
Class to encapsulate an experiment as a task that can be executed on a remote host.
Version:
$Revision: 13907 $
Author:
Mark Hall (mhall@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • RemoteExperimentSubTask

      public RemoteExperimentSubTask()
  • Method Details

    • setExperiment

      public void setExperiment(Experiment task)
      Set the experiment for this sub task
      Parameters:
      task - the experiment
    • getExperiment

      public Experiment getExperiment()
      Get the experiment for this sub task
      Returns:
      this sub task's experiment
    • execute

      public void execute()
      Run the experiment
      Specified by:
      execute in interface Task
    • getTaskStatus

      public TaskStatusInfo getTaskStatus()
      Description copied from interface: Task
      Clients should be able to call this method at any time to obtain information on a current task.
      Specified by:
      getTaskStatus in interface Task
      Returns:
      a TaskStatusInfo object holding info and result (if available) for this task
    • getRevision

      public String getRevision()
      Returns the revision string.
      Specified by:
      getRevision in interface RevisionHandler
      Returns:
      the revision