1. Core Architecture

The core architecture of DEAP is composed of two simple structures, the creator and the toolbox. The former provides structuring capabilities, while the latter adds genericity potential to every algorithm. Both structures are described in detail in the following sections.

1.1. Creator

1.2. Toolbox

The Toolbox is a container for the tools that are selected by the user. The toolbox is manually populated with the desired tools that best apply with the chosen representation and algorithm from the user’s point of view. This way it is possible to build algorithms that are totally decoupled from the operator set, as one only need to update the toolbox in order to make the algorithm run with a different operator set as the algorithms are built to use aliases instead of direct function names.

1.3. Additional Base Types

Even if there is a very large variety of implemented types in Python, we must provide additional ones for sake of completeness.

1.3.1. Fitness

1.3.2. Tree

Table Of Contents

Previous topic

API

Next topic

2. Evolutionary Tools

This Page