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 TypeMethodDescriptionvoiddescribe(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.voidevaluate(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
Evaluates the individual in ind, if necessary (perhaps not evaluating them if their evaluated flags are true), and sets their fitness appropriately. -
describe
"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.
-