Revolver is a framework for building fast genetic algorithms in Swift 3.0.
Features:
- Chromosomes: strings, trees
- Genetic operators: reproduction, mutation, crossover (1-point, 2-point, tree crossover)
- Selections: roulette, rank, tournament, random, best/worst
- Terminations: fixed number of generations, fitness threshold, date scheduling
- Evaluators: sequential, parallel, aggregate
- Random generators: Mersenne Twister, arc4random, drand48
- Everything listed above is ready-to-run, yet easily extensible. By subclassing base classes and conforming to protocols, you can customize almost anything.
- Well-documented API and many usage examples.
- Unit tests.
