|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
GroupedProblemForm.java
GroupedProblemForm is an interface which defines methods for Problems to implement simple coevolutionary evaluation. In particular, the evaluate method receives as parameters a set of individuals that need to be evaluated. An additional vector-parameter (updateFitness) marks which individual fitnesses need to be updated during the evaluation process.
Method Summary | |
void |
evaluate(EvolutionState state,
Individual[] ind,
boolean[] updateFitness,
boolean countVictoriesOnly,
int threadnum)
Evaluates the individuals found in ind together. |
void |
postprocessPopulation(EvolutionState state,
Population pop)
Finish processing the population (such as fitness information) after evaluation. |
void |
preprocessPopulation(EvolutionState state,
Population pop)
Set up the population pop (such as fitness information) prior to evaluation. |
Method Detail |
public void preprocessPopulation(EvolutionState state, Population pop)
public void postprocessPopulation(EvolutionState state, Population pop)
public void evaluate(EvolutionState state, Individual[] ind, boolean[] updateFitness, boolean countVictoriesOnly, int threadnum)
If countVictoriesOnly is true, you should update fitnesses such that if two individuals' fitnesses are compared, the one which has won the most times has a superior fitness. This will be used in single elimination tournament style evaluators.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |