JAG:

This Java program implements a simple GENETIC ALGORITHM where the FITNESS function takes non-negative values only. It employs ELITISM. The Java code was derived from the C code in the Appendix of Genetic Algorithms + Data Structures = Evolution Programs, [MICHALE94]. Other ideas and code were drawn from GAC by Bill Spears.

Four sample problems are contained in the code: three with bit GENEs and one with double genes. To use this program, modify the class MyChromosome to include your problem, which you have coded in some class, say YourChromosome. All changes to the sGA.java file to run your problem are confined to your class YourChromosome. This is what object-oriented programming is all about! The sGA.java source code file has a big comment at the end containing some sample runs.

Available by FTP from ftp://ftp.mcs.drexel.edu/pub/shartley/simpleGA.tar.gz . Further information from Stephen J. Hartley <shartley@mcs.drexel.edu>, http://www.mcs.drexel.edu/~shartley . Drexel University, Math and Computer Science Department Philadelphia, PA 19104 USA. +1-215-895-2678


[Free Software List] [Commercial Software List] [Research Projects] [HHGTEC main contents page]

Mistakes in this page?
Hitch Hiker's Guide to Evolutionary Computation, Issue 6.4, released 21 December 1998
Copyright © 1993-1998 by J. Heitkötter and D. Beasley, all rights reserved.