book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







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
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)


Click here to add your comments

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


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


ad

Views for this page
Today This Week This Month This Year  Overall
1277 2,139

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


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.



Twitter
o Lotta dead Twitter lately.. 3:44 PM Jan 31st








Change Congress

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