This was orignially concieved as a homework assignment for a class which focused on natural computing. That is it focused on computational techniques garnered from natural sources.
GA Write Up (pdf): This is the final write up of the project.
driver.txt This is the main file that drives the rest of the program. Most of the logic is performed here. I have stored the files as text otherwise the program would execute everytime anyone tried to access it then my server would die / dreamhost would charge me lots of money.
functions.txt This is simply a list of all the sub programs that are called by the driver. I created it because it was easier to change things here then change them in all the other files.
breeder.txt This function creates the offspring for the next run. It takes in two strings and produces as many children as requested.
printer.txt This is the file that formats the output for display as html.
mutator.txt The mutator section is responsible for mutating the children. It takes in a string and integer and mutates the string based on the integer value.
fitter.txt The fitter function is the simplest of them all. It uses a prepackaged comparison algorithm to find the 'distance' between the supplied string and a goal string. This value is used to determine the over all fittness of the supplied string.
out.html The output of the program.