6 ms·
Cool-looking, but I'm not quite sure what's going on. Explanations?
by tc7 18y ago
Cool-looking, but I'm not quite sure what's going on. Explanations?
- jonknee 18y ago"This is a GA I wrote to design a little car for a specific terrain. It runs in real-time in Flash. The fitness function is the distance travelled before the red circles hit the ground, or time runs out. The degrees of freedom are the size and inital positions of the four circles, and length, spring constant and damping of the eight springs. The graph shows the "mean" and "best" fitness. I should really make a new version with better explanations of what's going on." http://www.reddit.com/r/programming/comments/7i22c/genetic_programming_evolution_of_mona_lisa/c06pt65 http://www.reddit.com/r/programming/comments/7i22c/genetic_p...
- cnu 18y agoWhat does the graph depict? What is the black and green lines mean?
- dangoldin 18y agoFrom what I can tell and my limited genetic programming experience the idea is to create a car that is able to drive across the course. A car is defined as being a quadrilateral with two wheels and two counterweights (I think that's what they are). It starts off by randomly creating 20 cars with variable car shapes, wheel sizes, and counterweight sizes. It determines how well each car does on the course and uses this information to mate the cars together in order to get a more successful car. The way this is traditionally done is by evaluating a "fitness" function on each individual in the population and giving the higher scoring individuals a better chance of mating. This process keeps on going on until some criteria is reached. On average, the higher the generation count the better the offspring should be.