JGAP

examples.grid.fitnessDistributed
Class MyResult

java.lang.Object
  extended by WorkResult
      extended by org.jgap.distr.grid.JGAPResult
          extended by examples.grid.fitnessDistributed.MyResult

public class MyResult
extends JGAPResult

Stores the result of a computation. Actually adds no functionality to superclass JGAPResult. Extend this class for your application if necessary. It is not necessary to use a class like this, you could simply use JGAPResult!

Since:
3.01

Constructor Summary
MyResult(java.lang.String a_name, int a_id, IChromosome a_fittestChrom, long a_unitdone)
           
MyResult(java.lang.String a_name, int a_id, Population a_pop, long a_unitdone)
           
 
Method Summary
 
Methods inherited from class org.jgap.distr.grid.JGAPResult
getFittest, getPopulation, getUnitDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyResult

public MyResult(java.lang.String a_name,
                int a_id,
                IChromosome a_fittestChrom,
                long a_unitdone)

MyResult

public MyResult(java.lang.String a_name,
                int a_id,
                Population a_pop,
                long a_unitdone)

JGAP