Know the rules The Paceline Forum Builder's Spotlight


Go Back   The Paceline Forum > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2015, 10:22 AM
RFC's Avatar
RFC RFC is offline
Senior Member
 
Join Date: Apr 2008
Location: Scottsdale AZ
Posts: 1,655
Watch a two wheeled vehicle evolve!

I posted this in the evolutionary algorithm thread below, but thought it deserved broader distribution.

This model uses a genetic algorithm to evolve a two wheeled vehicle to move farther and farther down the track.

Fire it up and let it run. Mesmerizing!

http://rednuht.org/genetic_cars_2/

I use this at the beginning of my biotechnology law class just to get their attention.
Reply With Quote
  #2  
Old 10-19-2015, 10:33 AM
MattTuck's Avatar
MattTuck MattTuck is offline
Classics Fan
 
Join Date: May 2008
Location: Grantham, NH
Posts: 12,265
I've been watching this for a while (from your other post). Pretty cool! I studied evolution undergrad... such a fascinating topic.

Curious if they evolve toward a certain shape. They all seem to be getting stuck in the same ravine, after 25 generations.
__________________
And we have just one world, But we live in different ones
Reply With Quote
  #3  
Old 10-19-2015, 10:45 AM
RFC's Avatar
RFC RFC is offline
Senior Member
 
Join Date: Apr 2008
Location: Scottsdale AZ
Posts: 1,655
Quote:
Originally Posted by MattTuck View Post
I've been watching this for a while (from your other post). Pretty cool! I studied evolution undergrad... such a fascinating topic.

Curious if they evolve toward a certain shape. They all seem to be getting stuck in the same ravine, after 25 generations.
Look at the control panel, among other things, you can adjust the mutation rate, which will give you more early failures, but also move toward a more evolved cycle.
Reply With Quote
  #4  
Old 10-19-2015, 11:10 AM
MattTuck's Avatar
MattTuck MattTuck is offline
Classics Fan
 
Join Date: May 2008
Location: Grantham, NH
Posts: 12,265
Quote:
Originally Posted by RFC View Post
Look at the control panel, among other things, you can adjust the mutation rate, which will give you more early failures, but also move toward a more evolved cycle.
Yes, I was more thinking, will my best one resemble your best one? Here's a picture of it... interestingly, between generation 10 and 30, there were no new top scores... but finally in generation 31, I got a new top score.

I have kept the floor 'fixed', so I have no idea if it would be the same floor as you... obviously, that is a key selection pressure.
Attached Images
File Type: png Capture.PNG (14.5 KB, 75 views)
__________________
And we have just one world, But we live in different ones
Reply With Quote
  #5  
Old 10-19-2015, 12:00 PM
RFC's Avatar
RFC RFC is offline
Senior Member
 
Join Date: Apr 2008
Location: Scottsdale AZ
Posts: 1,655
Good point. I just use the standard track. Note that you can also change the gravity.

Just let it run for the day and see where it goes.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.