seanmor5 / genex

Genetic Algorithms in Elixir!
Apache License 2.0
144 stars 13 forks source link

Change how parents are crossed over #14

Closed seanmor5 closed 5 years ago

seanmor5 commented 5 years ago

As of right now, parents are paired in the order they are selected in 2s. This means in something like natural selection, the fittest mates with the second fittest, the third with the fourth, and so on. This implementation is rigid - perhaps giving the user more freedom to determine who crosses with who is a more suitable alternative.