Documentation of 'ec.simple.SimpleEvaluator' Java class
SimpleEvaluator
ec.simple

Class SimpleEvaluator

  • All Implemented Interfaces:
    Setup, Singleton, java.io.Serializable
    Direct Known Subclasses:
    DEEvaluator, NSGA2Evaluator, SPEA2Evaluator, SteadyStateEvaluator


    public class SimpleEvaluator
    extends Evaluator
    The SimpleEvaluator is a simple, non-coevolved generational evaluator which evaluates every single member of every subpopulation individually in its own problem space. One Problem instance is cloned from p_problem for each evaluating thread. The Problem must implement SimpleProblemForm.
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleEvaluator

        public SimpleEvaluator()
    • Method Detail

      • setup

        public void setup(EvolutionState state,
                          Parameter base)
        Description copied from interface: Setup
        Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.
        Specified by:
        setup in interface Setup
        Overrides:
        setup in class Evaluator
      • evaluatePopulation

        public void evaluatePopulation(EvolutionState state)
        A simple evaluator that doesn't do any coevolutionary evaluation. Basically it applies evaluation pipelines, one per thread, to various subchunks of a new population.
        Specified by:
        evaluatePopulation in class Evaluator
      • runComplete

        public boolean runComplete(EvolutionState state)
        The SimpleEvaluator determines that a run is complete by asking each individual in each population if he's optimal; if he finds an individual somewhere that's optimal, he signals that the run is complete.
        Specified by:
        runComplete in class Evaluator

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.