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]

1
ctrl: SimpleLinearAlgorithm = SimpleLinearAlgorithm(

population=init_pop, variator=RandomBitMutator(0.1), selector=Elitist(TruncationSelector[BitString](POPULATION_SIZE)), evaluator = BitDistanceEvaluator())

for _ in range(GENERATION_COUNT):

ctrl.step()


API Reference:

Indices and tables