|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FitnessFunction
The FitnessFunction is one of the Core-Parts of a Genetic Algorithm. Here, the fitness of a solution created by the GA in relation to the provided request (an SBVRDescription in this very case) can be calculated by implementing the evaluate method.
| Method Summary | |
|---|---|
Fitness |
evaluate(Solution solution)
Evaluate the fitness function with the indicated solution. |
void |
init(SBVRDescription description,
FitnessFunctionContext context)
Init this fitness funcion. |
| Method Detail |
|---|
void init(SBVRDescription description,
FitnessFunctionContext context)
description - The request that acts as the evaluation counterpartcontext - The FitnessFunctionContextFitness evaluate(Solution solution)
solution - The Solution that should be evaluated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||