Image of a sequence of gears, each bigger than the last.

EvoKit Documentation

EvoKit is an evolutionary computation framework written in Python. See Why EvoKit? for a detailed list of features.

Using EvoKit is easy! With all operators defined, you can run an evolutionary algorithm in just 7 lines. [1]

1ctrl: SimpleLinearAlgorithm = SimpleLinearAlgorithm(
2   population=init_pop,
3   variator=RandomBitMutator(0.1),
4   selector=Elitist(TruncationSelector[BitString](POPULATION_SIZE)),
5   evaluator = BitDistanceEvaluator())
6for _ in range(GENERATION_COUNT):
7   ctrl.step()

API Reference:

Indices and tables