nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
914 stars 151 forks source link

Confusing Paragraph in Section 9.6 #294

Closed eldavojohn closed 8 years ago

eldavojohn commented 11 years ago

Section 9.6 page 401 where it says "This strategy will produce essentially the same results..." that whole paragraph makes no sense to me at all. I fail to see how the random midpoint and coin flipping method will produce essentially the same result or even give the same possible outcomes. I can produce a trivial example where these will perform and behave quite differently but maybe I am missing something?

shiffman commented 11 years ago

Ah, I see how this is confusing. I don't mean it will produce the same result for that particular crossover. However, the larger genetic algorithm system with have the same result whether you choose random midpoint or coin flipping (unless the order of the "genes" is important). I will revisit this language to clear this up, thank you!

shiffman commented 8 years ago

I've changed the text to:

This strategy will not change how the example behaves from the random midpoint method; however, if the order of the genetic information plays some role in expressing the phenotype, you may prefer one solution over the other.

Thank you!