Avida (Digital Life Laboratory )

(Traditional format)

Sat Jan 8 17:03:38 2005 Avida (Digital Life Laboratory )
Posted by Tony Lawrence
Referencing: http://dllab.caltech.edu/avida/

I came across this in the latest issue of Discover - a fascinating article; I really suggest picking this up if you are interested in evolutionary theory.


Hate these ads?

The link for the Mac version seems to be broken. I did download the Windows version (hint - click on QT-Viewer to run it once you've unpacked it), but I wanted something much simpler to play with.

So (of course) I wanted to write my own little piece of digital life. The basic idea is simple:



$generation=0;
$alive{'abcdefg'}="0";
$alive{'gfedcba'}="0";
$goal="Goal";
while (1) {
  score();
  print "Mating..\n";
  mate();
  killweak();
  $generation++;
  show();
  print "Generation $generation ------\n";
}


The score() assigns points to the string based on many times it contains $goal or part therof, mate() creates new strings from old with random mutations, killweak() takes the lowest scores out of the population, and we repeat. Sounds simple, and very quickly I had code that was driving toward the goal. But then somewhere I introduced some bug that has my generations getting stuck in infinite loops, so I'm still hacking at that. Fun way to spend a rainy Saturday. I'll share when I get it working.



Comments /Blog/B1226.html
CommentsBlog1226 :

---January 27, 2005

hey, I read that artical too, and like you I just had to see the program. Its fun but I haven't quite figured it out completly yet.I've been tring to set up my own experiments, with a lack of sucess. I think this is the next big step/test for evolutionary theroy. I read on Dr. pennock's website( www.msu.edu/~pennock5/research/Avida-ED.htm) that he want's to use Avida for educational use in the class room.that would be great.thanks for posting

-Corey Hooker
(corey_hooker@thecenterforadvancedlearning.org)


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
1823488 2,026

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

pavatar.jpg
More:
       - Programming
       - Blog




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering









Change Congress


Related Posts

Publish your articles, comments, book reviews or opinions here!