ec.simple
Interface SimpleProblemForm

All Known Implementing Classes:
TeambotsProblem

public interface SimpleProblemForm

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


Method Summary
 void describe(Individual ind, EvolutionState state, int threadnum, int log, int verbosity)
          "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 threadnum)
          Evaluates the individual in ind, if necessary (perhaps not evaluating them if their evaluated flags are true), and sets their fitness appropriately.
 

Method Detail

evaluate

public void evaluate(EvolutionState state,
                     Individual ind,
                     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

public void describe(Individual ind,
                     EvolutionState state,
                     int threadnum,
                     int log,
                     int verbosity)
"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.