Genetic algorithms

Genetic algorithm design patterns:

From How genetic algorithms work.