Package ec.eval

Class Job

java.lang.Object
ec.eval.Job

public class Job extends 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.

  • Constructor Details

    • Job

      public Job()