problem printing out the best genome that the GA found!

Luis Ariel Diago luis_a_diago at yahoo.com
Tue May 30 17:24:29 EDT 2000


I am using galib with Visual C++ 5.0 and when I try to

print out the best genome that the GA found it give me
the following error in the line:

cout << "The GA found:\n" <<
ga.statistics().bestIndividual() << "\n";

Compiling...
ex1.C
D:\galib245\examples\ex1.C(70) : error C2679: binary
'<<' : no operator defined which takes a right-hand
operand of type 'const class GAGenome' (or there is no
acceptable conversion)

Error executing cl.exe.

What should I do?


=====
ºººººººººººº   Hola!
   |   º   º  |   Quieres contactarme?
  (    (..)    )  escribeme a: luis_a_diago at yahoo.com
    \   __   /    
     |______|     Quieres conocer mas acerca de mi? 
                  visitame en:
http://www.geocities.com/luis_a_diago/

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/





More information about the galib mailing list