Share

R-based genetic algorithm.

Tracker: Bugs

5 False evaluation values - rbga.bin - ID: 2524103
Last Update: Attachment added ( blasius )

In some cases the evaluation values of some chromosomes are not agree with
the manually calculated ones while using rbga.bin. During the crossing over
some new chromosomes will be identical with one of their parents and the
evaluation values of their parent will be used in the next generation
avoiding the recalculation. But during mutation these chromosomes can
mutate so the stored evaluation values will not fit the new chromosomes.

Solution:
The evaluation values of the mutated chromosomes should be set to NA.

Corrected script of function is attached. Inserted line is markered by
'####' (line 163.)


Balazs Szappanos ( blasius ) - 2009-01-20 16:56

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
rbga_bin_mod.R Corrected rbga.bin function Download

Change ( 1 )

Field Old Value Date By
File Added 309923: rbga_bin_mod.R 2009-01-20 16:56 blasius