Description: This is a very simple genetic algorithm source code, by Denis Cormier (North Carolina State University) developed, Sita S. Raghavan (University of North Carolina at Charlotte) amendment. Code to ensure that as little as possible, in fact, do not have to troubleshoot. The application of a specific amendment to this code, the user simply changes the definition of constants and the definition of "evaluation function" button. Note that the code is designed to seek maximum value, where the objective function can only take positive and the function value and the individual is no difference between the fitness value. The system uses the ratio of choice, the essence of model, single-point crossover and uniform mutation. If you replace the uniform mutation with Gaussian mutation, may get better results. Code without any graphic or even no screen output, mainly to ensure a high portability between platforms. Readers can ftp.uncc.edu, directory coe/evol file prog.c obtained. Requires the input f
To Search:
File list (Check if you may need any files):
GAprog.cpp