sdt.dist
Class Program

java.lang.Object
  |
  +--sdt.dist.Program
Direct Known Subclasses:
GeneticAlgorithm

public abstract class Program
extends java.lang.Object

Abstract representation of a distributed program.


Constructor Summary
Program()
           
 
Method Summary
 Job addJob(Task obj, Result r, java.lang.String task_name, java.lang.String result_name)
          This method adds a specified task to the "pool of tasks "
 void block(Job j)
          This method is called to wait for the evaluation of a particular job to be completed.
abstract  java.lang.Object run(boolean distributed)
          This method implements the actual steps of the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Program

public Program()
Method Detail

run

public abstract java.lang.Object run(boolean distributed)
This method implements the actual steps of the program.

addJob

public Job addJob(Task obj,
                  Result r,
                  java.lang.String task_name,
                  java.lang.String result_name)
This method adds a specified task to the "pool of tasks "

block

public void block(Job j)
This method is called to wait for the evaluation of a particular job to be completed.