I notice that sometimes the fittest chromosome doesn get selected for the next generation. Whats up with that?
Natural selection in JGAP is statistical, so chromosomes that are more fit have a better statistical chance of being selected over chromosomes that are less fit, but it’s not guaranteed. This is much like nature, where even the fittest of us can sometimes be unlucky! Incidentally, JGAP is designed to be very pluggable, and it’s possible for you to write your own natural selector and plug it into JGAP in place of the default version, if that better suits your needs.