Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday April 12, 2004
12:57 PM

Playing God

[ #18298 ]

So far the work with the synthetic ecosystem is going well. The fixed version of my program has been running for a couple of days and working marvelously (as far as I can tell).

I currently have AI::Life::World, AI::Life::Plant, AI::Life::Agent and some helper modules. It turns out that converting a rather large procedural program to a properly designed OO system is tough. Once my initial refactor is done, I'm going to have to start digging into the Agent's brains. Currently, their brains are hardwired to only recognize things in their current environment. If I add more types of things, improve how their eyes work or give them different actions they can perform, their brains won't pick up the changes. I'm going to have to have the neural networks designed on the fly or else no one will have any use for the darned thing. I'll probably have to allow for custom neural networks for different types of creatures. A cow would not try to fly, for example.

Eventually, I hope to get it to the point where people can custom design animals and see how well they survive against others. I think I have a lot of work in front of me.

Side note: the other day, a friend of mine and I were walking along and discussing strategies on improving the system. I commented "... but I accidentally severed the nerves to their eyes ..." Heads turned, I tell ya.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • You might find simagent [] of interest. Not in Perl, but all the source is available. You'd have to have a box to get Poplog [] up and running on too.

    (disclaimer - many years ago I used to be a Poplog developer, and Aaron Sloman the simagent developer was once my boss :-)

    • Wow. Lots of stuff there and clearly better than what I am doing (duh!). I see right off the bat that the neural network is far more sophisticated than mine. I have a simple two-layer network that learns by sometimes mutating during reproduction. If the agent survives, the network is "smarter."

      Unfortunately my system runs rather slowly since it's pure Perl, so there are limits to what I can extend. Still, once I get things running smoothly, I'll see what I can do for performance tuning without having