Package examples.dlife.ga.maxones

Sample program that illustrates of the use of the genetic algorithms package (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.
 

Package examples.dlife.ga.maxones Description

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.