[galib] setting population from a file

ratnoo saroj ratnoo_saroj at yahoo.com
Thu Oct 4 01:12:00 EDT 2007


Dear Tim

I think you can set the population of a GA from a file. To do this you need to take a GAPopulation object. First read from file and copy the respective things in GAPopulation object. Once you have finished this set the population of the GA to your population object

YOu can have:

GAPopulation pop
copy from file to pop
ga.population(pop)

I am not in touch currently with GAlib but I hope this simple thing works.

Saroj


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html




More information about the galib mailing list