Individual score in population differs from objective score using no scaling!
Blaze
blazefirst at hotmail.com
Sun Oct 13 08:30:51 EDT 2002
Ok, i think my problem is solved.
I forgot to put these lines into the mutation and crossover rutines:
sis->_evaluated=gaFalse;
bro->_evaluated=gaFalse;
now the scores are the same.
I experienced problems on compiling the randtest.c with VC++. I had the
following errors:
--------------------Configuration: randtest - Win32
Debug--------------------
Compiling...
randtest.cpp
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(23) : error C2872: 'cerr' :
ambiguous symbol
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(24) : error C2872: 'cerr' :
ambiguous symbol
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(25) : error C2872: 'cerr' :
...
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(287) : error C2872: 'cout'
: ambiguous symbol
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(290) : error C2872: 'cout'
: ambiguous symbol
C:\Program Files\Microsoft Visual
Studio\MyProjects\ga\GALib\examples\randtest.cpp(290) : fatal error C1003:
error count exceeds 100; stopping compilation
Error executing cl.exe.
randtest.exe - 102 error(s), 0 warning(s)
Anyone could help with this please write!
Thanks all,
regards
Balazs GAAL (MSc. Student)
University of Veszprem
Dept. of Computer Systems
HUNGARY
13 October 2002
More information about the galib
mailing list