Package ec.simple

Interface SimpleProblemForm

All Known Implementing Classes:
GEProblem, GPProblem, MasterProblem, MetaProblem, PushProblem

public interface SimpleProblemForm
SimpleProblemForm is an interface which defines methods for Problems to implement simple, single-individual (non-coevolutionary) evaluation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describe(EvolutionState state, Individual ind, int subpopulation, int threadnum, int log)
    "Reevaluates" an individual, for the purpose of printing out interesting facts about the individual in the context of the Problem, and logs the results.
    void
    evaluate(EvolutionState state, Individual ind, int subpopulation, int threadnum)
    Evaluates the individual in ind, if necessary (perhaps not evaluating them if their evaluated flags are true), and sets their fitness appropriately.
  • Method Details

    • evaluate

      void evaluate(EvolutionState state, Individual ind, int subpopulation, int threadnum)
      Evaluates the individual in ind, if necessary (perhaps not evaluating them if their evaluated flags are true), and sets their fitness appropriately.
    • describe

      void describe(EvolutionState state, Individual ind, int subpopulation, int threadnum, int log)
      "Reevaluates" an individual, for the purpose of printing out interesting facts about the individual in the context of the Problem, and logs the results. This might be called to print out facts about the best individual in the population, for example.