[galib] THE OBJECTIVE FUNCTION TYPE

Rob robert.c.green at gmail.com
Thu Jan 28 09:19:39 EST 2010


I believe that changing line 180 of gaGenome.h to the following should do
the trick, though I haven't done any testing.

 typedef double (*Evaluator)(GAGenome &);

On Thu, Jan 28, 2010 at 5:27 AM, Oly Mo <o_morad3 at yahoo.fr> wrote:

> Hello,
>
> Please I have sent email previously concerning changing the type of the
> objective function from float to double  but i didn't get reply , I am not
> familiar with Galib and I hope , what I have done I have tried to change the
> type of the variables  "score" and "fitnesse" and the type of the functions
> "evaluate" and " evaluator" in the Genome.h and Genome.cpp
> put this didn't solve the problem so to whome which are familiar with galib
> and c++  and want to encourage and give push to beginners ,please which
> variables and in which files i have to make this change* .*
> **
> *Thank you ,*
> Regards
>
>
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
>
>


-- 
Robert C. Green II
(412) 860-4825

http://www.parallelcoding.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20100128/c5cf5e42/attachment.htm


More information about the galib mailing list