|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectWorkResult
org.jgap.distr.grid.JGAPResult
public class JGAPResult
Holds the result of a worker.
| Constructor Summary | |
|---|---|
JGAPResult(java.lang.String name,
int id,
IChromosome a_fittestChrom,
long a_unitdone)
Deprecated. use other constructor with Population parameter instead |
|
JGAPResult(java.lang.String name,
int id,
Population a_chromosomes,
long a_unitdone)
Constructor: Takes a Population as result of a worker's computation. |
|
| Method Summary | |
|---|---|
IChromosome |
getFittest()
Deprecated. use getPopulation instead |
Population |
getPopulation()
|
long |
getUnitDone()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JGAPResult(java.lang.String name,
int id,
IChromosome a_fittestChrom,
long a_unitdone)
name - Stringid - inta_fittestChrom - IChromosomea_unitdone - long
public JGAPResult(java.lang.String name,
int id,
Population a_chromosomes,
long a_unitdone)
name - arbritrary session name to distinct from other resultsid - ID of the result, should be unique must need nota_chromosomes - the result of a worker's computationa_unitdone - number of units done| Method Detail |
|---|
public IChromosome getFittest()
public Population getPopulation()
public long getUnitDone()
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||