Guides
Base Classes
Everything that form an algorithm derive from the following base classes:
Algorithms derive
Algorithm.Representations derive
Individual;Populationmodels a population.
Getting Started
The EvoKit source code, as well as all tutorials, are heavily typed and type checked with MyPy and Pylance in strict mode. Custom extensions do not need to practice this.
Custom representation, variator and evaluator for OneMax: Getting Started with OneMax
Custom selectors: Making a Custom Selector
Custom algorithms: Making a Custom Algorithm
Representations
Genetic programming (WIP): Symbolic Regression with Genetic Programming
Linear genetic programming (RIP): Please don’t look at me, I’m not done yet.
Advanced Tutorials
Modify the behaviour of existing operators (WIP): Modifying Operators with the Interceptor Pattern
Collect runtime statistics with
Accountant: Collect Runtime Statistics with Accountant.