jonatanklosko / meow

Multi-population evolutionary algorithms with support for GPU and distributed computing

Home Page:https://static.jonatanklosko.com/docs/meow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more operations

jonatanklosko opened this issue · comments

Not all operations are practical to implement them on tensors, but I'm positive we can add these:

  • random selection (with and without replacement, configured via an option)
  • clip (reducing all genomes to a specific range, useful for real representation)
  • shuffle (shuffling rows in the population matrix, useful when using natural_selection to randomize parent pairs)
  • two point crossover
  • n-point crossover (ideally without point collisions; this is pretty much a generalized two point crossover, but I think we can implement two point crossover more efficiently) (#27)