Genetic algorithm demo: finding optimal vehicle design (in Flash)
qubit.devisland.net
qubit.devisland.net
Edit: I remember now - I was trying to learn neural networks and the code demonstrated using GA to evolve a neural network. Can't find a link, unfortunately, which is a shame as it's an interesting subject
I just thought it was interesting because I haven't personally seen many realtime demos of genetic algorithms, especially ones that run in the browser, though I don't doubt that they've been kicking around for years.
There is a great discussion of this (and a further mapping of fitness functions and evolutionary algorithms to a 2-dimensional "fitness landscape") in The Origin of Wealth by Eric Beinhocker - http://www.amazon.com/Origin-Wealth-Evolution-Complexity-Eco...
Absolutely phenomenal exploration of complexity economics.
Nope it's a lot simpler than that as said above. Basically the x axis is generation, y axis is distance. The black line is the max and the green line is the average.
For each iteration there are 20 individuals. Each gets a score according to how far they get. The horizontal line is the generation. The black line shows the best in each generation, and green line shows the average over the 20 individuals in that generation.
The black line is always above the green, but sometimes crashes way down. The green line doesn't change dramatically, and generally climbs.
Idea: a game where each level you get a terrain and must design the optimal vehicle to traverse it (or does this exist?)
The interesting part here IMO is how to pose the problem as an optimization problem, and what representation they used for the candidate solutions. The details of how you optimize once you have those two things aren't as exciting, and on a lot of problems don't matter that much, so it's a bit of a shame that they always get emphasized (admittedly, the "genetic" and "evolutionary" metaphors make for nice PR, whereas a lot of randomized-optimization algorithms are really boring sounding).