One (possibly stupid) suggestion is to look at Data::Dumper. It should work, but may be very slow if the object in question is large. Let us know if you find anything better.

Cheers,
Brad Larsen

[EMAIL PROTECTED] wrote:

I know this is going to turn out to be a stupid question, but could someone tell me the easiest way to store and retrieve the state of the entire AI::Genetic colony, and parameters, to a disk file so it can be read in and out at will?

I'm doing some constrained optimization experiments that can take several days, even a week, to run in the background, but I have a computer (Mac OS X 10.4.8) that is shared, and I need to install software and restart it almost daily.

I would like to save the entire thing about every hour, but I can handle the timing part myself.


Sincerely,

Gregg Allen
Cerebra, Inc.



Reply via email to