develooper Front page | perl.ai | Postings from December 2006

Re: AI::Genetic

Thread Previous | Thread Next
From:
Brad Larsen
Date:
December 8, 2006 06:38
Subject:
Re: AI::Genetic
Message ID:
457978BB.3020801@gmail.com
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

greggallen@gmail.com 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.
> 
> 
> 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About