Re:Show HN: A Genetic Algorithm I wrote in JavaScript to evo...
by SeanLuke on Tuesday December 14, 2010 @09:39AM
(#2004261)
Update Looks like the guy's description of his function is different from his actual function. You're right, there is a single global optimum and no local optima.
[ Parent
| on HN ]
Re:Show HN: A Genetic Algorithm I wrote in JavaScript to evo...
by user24 on Tuesday December 14, 2010 @09:49AM
(#2004303)
Ah, you're right. Wasn't intentional. I say:
> Return the sum of the differences between the chromosome and the target string.
but I mean something more like:
> Return the sum of the character-wise differences between the chromosome and the target string.