Package ec.simple

Class SimpleGroupedEvaluator

java.lang.Object
ec.Evaluator
ec.simple.SimpleEvaluator
ec.simple.SimpleGroupedEvaluator
All Implemented Interfaces:
Setup, Singleton, Serializable

public class SimpleGroupedEvaluator extends SimpleEvaluator
See Also:
  • Constructor Details

    • SimpleGroupedEvaluator

      public SimpleGroupedEvaluator()
  • Method Details

    • evalPopChunk

      protected void evalPopChunk(EvolutionState state, int[] numinds, int[] from, int threadnum, Problem p)
      This protected helper function for evaluatePopulation evaluates a chunk of individuals in a subpopulation for a given thread. We override it here to modify evaluation so that it sends the entire chunk of individuals to a GroupedProblemForm all at once (rather than one-by-one).
      Overrides:
      evalPopChunk in class SimpleEvaluator