|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgap.distr.grid.gp.JGAPWorkerGP
examples.grid.mathProblemDistributed.MyGAWorker
public class MyGAWorker
Receives work, computes a solution and returns the solution to the requester. This is done by solely using the JGAP standard mechanism of the super class, JGAPWorker. You could do differently, see other examples provided with JGAP.
Constructor Summary | |
---|---|
MyGAWorker()
|
Method Summary | |
---|---|
WorkResult |
doWork(WorkRequest a_work,
java.lang.String a_workDir)
Executes the evolution and returns the result. |
Methods inherited from class org.jgap.distr.grid.gp.JGAPWorkerGP |
---|
main |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyGAWorker()
Method Detail |
---|
public WorkResult doWork(WorkRequest a_work, java.lang.String a_workDir) throws java.lang.Exception
doWork
in class JGAPWorkerGP
a_work
- WorkRequesta_workDir
- String
java.lang.Exception
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |