ec.eval
Class Job
java.lang.Object
ec.eval.Job
public class Job
- extends java.lang.Object
Job.java
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.
- Version:
- 1.0
- Author:
- Liviu Panait
|
Constructor Summary |
Job()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public int type
inds
public Individual[] inds
newinds
public Individual[] newinds
subPops
public int[] subPops
countVictoriesOnly
public boolean countVictoriesOnly
updateFitness
public boolean[] updateFitness
Job
public Job()