ec.simple
Interface SimpleProblemForm
-
- All Known Implementing Classes:
- AddSubtract, Ant, BBOBenchmarks, Benchmarks, CoevolutionaryECSuite, ECSuite, Edge, GEProblem, GPProblem, HIFF, KLandscapes, Lawnmower, Lid, MajorityGA, MajorityGP, MasterProblem, MaxOnes, MetaProblem, Mona, MooSuite, Multiplexer, Multiplexer, MultiValuedRegression, NK, OddRosenbrock, OrderTree, Parity, PushProblem, Quintic, Regression, Regression, RoyalTree, SAT, Semantic, Sextic, Sum, TwoBox
public interface SimpleProblemFormSimpleProblemForm is an interface which defines methods for Problems to implement simple, single-individual (non-coevolutionary) evaluation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voiddescribe(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 Detail
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG