|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
dlife.ga).
See:
Description
| Class Summary | |
|---|---|
| MaxOnesExperiment | Uses the dlife.ga package to solve the "Max Ones" problem. |
| MaxOnesFitnessFunction | A FitnessFunction for the "Max Ones" problem. |
Sample program that illustrates of the use of the genetic algorithms package (dlife.ga). This example solves the "Max Ones" (pseudo)problem in
which the goal is to evolve a bit string of length 100 that has as many
1's as possible (e.g. the string 111...111).
Running the MaxOnesExperiemnt program will report the minimum,
average and maximum fitness of the evolving population.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||