public class Job
- extends java.lang.Object
This class stores information regarding a job submitted to a Slave: the individuals,
the subpopulations in which they are stored, a scratch array for the individuals used
internally, and various coevolutionary information (whether we should only count victories
single-elimination-tournament style; which individuals should have their fitnesses updated).
Jobs are of two types: traditional evaluations (Slave.V_EVALUATESIMPLE), and coevolutionary
evaluations (Slave.V_EVALUATEGROUPED). type indicates the type of job.
For traditional evaluations, we may submit a group of individuals all at one time.
Only the individuals and their subpopulation numbers are needed.
Coevolutionary evaluations require the number of individuals, the subpopulations they come from, the
pointers to the individuals, boolean flags indicating whether their fitness is to be updated or
not, and another boolean flag indicating whether to count only victories in competitive tournament.
- Liviu Panait
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public int type
public Individual inds
public Individual newinds
public int subPops
public boolean countVictoriesOnly
public boolean updateFitness