|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectexamples.grid.fitnessDistributed.MyWorkerReturnStrategy
public class MyWorkerReturnStrategy
Just compute the fitness value in our example, where only fitness value computation is dirtibuted.
| Constructor Summary | |
|---|---|
MyWorkerReturnStrategy()
|
|
| Method Summary | |
|---|---|
JGAPResult |
assembleResult(JGAPRequest a_req,
Genotype a_genotype)
Computes fitness of one chromosome and returns it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyWorkerReturnStrategy()
| Method Detail |
|---|
public JGAPResult assembleResult(JGAPRequest a_req,
Genotype a_genotype)
throws java.lang.Exception
assembleResult in interface IWorkerReturnStrategya_req - JGAPRequesta_genotype - Genotype
java.lang.Exception - in case of any error
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||