[galib] how to write the best genome to a file
sunyanxin@sh.com
sunyanxin at sh.com
Wed Apr 14 12:26:31 EDT 2004
1.I have got the best geome,how to write to a file .
generate a file pointer to a file ,then replace cout=file stream?
cout << "ga :\n" << ga1.statistics().bestIndividual() << endl;
2. how to stop a genome evolve.
i have set generations is 50,but program run a long long time ,
so I want if program's result change not much ,then stop,how to do it
params.set(gaNnGenerations, 50);
------------------------------------------------------------------------
This mail sent by: SH.COM - Service Shanghai, the commercial center and
greatest city in China. http://www.sh.com
More information about the galib
mailing list