Crate algen

source ·
Expand description

Algen is a genetic algorithm runner. It provides a common set of traits and models that can be implemented to construct a genetic algorithm. Once these traits and models have been filled out, you can invoke the run_algorithm method in this crate which will do the following:

  • Create an initial population
  • Score each node
  • Reserve the best and worst solutions
  • Create the next generation through recombination and tournament selection
  • Begin the cycle again

This will happen until a winning condition is met, or until you have exhausted all generations.

Modules

Functions

The primary algorithm runner. This method will accept the types: