tasks
Class MbrotTask

java.lang.Object
  extended by api.Task
      extended by tasks.MbrotTask
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Task>

public class MbrotTask
extends Task

See Also:
Serialized Form

Constructor Summary
MbrotTask(double reLower, double imLower, double regionSideLen, int resolution, int maxIters, int resolutionThreshold, int rowStart, int colStart)
           
MbrotTask(double reLower, double imLower, double regionSideLen, int resolution, int maxIters, int resolutionThreshold, int rowStart, int colStart, TaskId taskId, TaskId successorId, int successorInputIndex)
           
 
Method Summary
 Result execute()
          Executes this task
 boolean executeOnServer()
          Method for checking whether this task should execute on the server
 java.lang.String toString()
           
 
Methods inherited from class api.Task
compareTo, getShared, getSuccessorId, getSuccessorInputIndex, getTaskId, sendEvent, setComputer, updateShared
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MbrotTask

public MbrotTask(double reLower,
                 double imLower,
                 double regionSideLen,
                 int resolution,
                 int maxIters,
                 int resolutionThreshold,
                 int rowStart,
                 int colStart)

MbrotTask

public MbrotTask(double reLower,
                 double imLower,
                 double regionSideLen,
                 int resolution,
                 int maxIters,
                 int resolutionThreshold,
                 int rowStart,
                 int colStart,
                 TaskId taskId,
                 TaskId successorId,
                 int successorInputIndex)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

execute

public Result execute()
Description copied from class: Task
Executes this task

Specified by:
execute in class Task
Returns:
the container of objects generated by the execute method

executeOnServer

public boolean executeOnServer()
Description copied from class: Task
Method for checking whether this task should execute on the server

Specified by:
executeOnServer in class Task
Returns:
true if task should execute on server, false otherwise