How do you avoid an invalid search space in a genetic algorithm?
Posted
by Dave
on Stack Overflow
See other posts from Stack Overflow
or by Dave
Published on 2010-02-16T05:08:17Z
Indexed on
2010/05/17
4:20 UTC
Read the original article
Hit count: 250
I am developing a GA for a school project and I've noticed that upon evaluating my functions for fitness, an individual is equivalent to its inverse.
For example, the set (1, 1, -1, 1)
is equivalent to (-1, -1, 1, -1)
. To shrink my search space and reach a solution more efficiently, how can I avoid my crossovers from searching in this second half of the search space?
© Stack Overflow or respective owner