|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeneticAlgorithmProblem
Hook class for problems solved by GeneticAlgorithm.
Prior to using a genetic algorithm to solve a problem you need to decide:
genetic representation
to use for the members in state space.fitness-evaluation
to use as an objective function to maximize
and guide search.reproduction
operators for the gene representation, in order to support convergence with domain knowledge.selection
function to apply.GeneticAlgorithmProblem
.
GeneticAlgorithm
,
GeneralSearchProblem
Method Summary | |
---|---|
Function |
getEvaluation()
Get the evaluation objective function. |
Population |
getPopulation()
Generate (create) the initial population of genomes. |
boolean |
isSolution(Population pop)
Check whether the given population of choices is a valid solution to the problem. |
Method Detail |
---|
Function getEvaluation()
A genetic algorithm will maximize this objective function.
EvaluativeAlgorithm.getEvaluation()
Population getPopulation()
Population.create(Genome, int)
boolean isSolution(Population pop)
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |