JGAP

examples.grid.fitnessDistributed
Class MyGAWorker

java.lang.Object
  extended by org.jgap.distr.grid.JGAPWorker
      extended by examples.grid.fitnessDistributed.MyGAWorker

public class MyGAWorker
extends JGAPWorker

Receives work, computes a solution and returns the solution to the requester.

Since:
3.01

Constructor Summary
MyGAWorker()
           
 
Method Summary
 WorkResult doWork(WorkRequest work, java.lang.String workDir)
          Executes the evolution and returns the result.
 
Methods inherited from class org.jgap.distr.grid.JGAPWorker
main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyGAWorker

public MyGAWorker()
Method Detail

doWork

public WorkResult doWork(WorkRequest work,
                         java.lang.String workDir)
                  throws java.lang.Exception
Executes the evolution and returns the result.

Overrides:
doWork in class JGAPWorker
Parameters:
work - WorkRequest
workDir - String
Returns:
WorkResult
Throws:
java.lang.Exception
Since:
3.01

JGAP