API
The API of DEAP is built around a clean and lean core composed of two simple
structures: a creator and Toolbox. The former
allows creation of classes via inheritance and composition and
the latter contains the tools that are required by the evolutionary algorithm.
The core functionalities of DEAP are levered by several peripheral modules.
The tools module provides a bunch of operator that are commonly
used in evolutionary computation such as initialization, mutation, crossover
and selection functions. It also contains all sort of tools to gather
information about the evolution such as statistics on almost every thing,
genealogy of the produced individuals, hall-of-fame of the best individuals
seen, and checkpoints allowing to restart an evolution from its last state.
The algorithms module contains five of the most frequently used
algorithms in EC: generational, steady-state,
System Message: WARNING/2 ((\mu\ ,\ \lambda))
latex exited with error
[stdout]
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/TeX Live for SUSE Linux)
restricted \write18 enabled.
entering extended mode
(./math.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo))
(/usr/share/texmf/tex/latex/base/inputenc.sty
! LaTeX Error: File `utf8x.def’ not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)
Enter file name:
! Emergency stop.
<read *>
l.131 \endinput
^^M
No pages of output.
Transcript written on math.log.
,
System Message: WARNING/2 ((\mu+\lambda))
latex exited with error
[stdout]
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/TeX Live for SUSE Linux)
restricted \write18 enabled.
entering extended mode
(./math.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo))
(/usr/share/texmf/tex/latex/base/inputenc.sty
! LaTeX Error: File `utf8x.def’ not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)
Enter file name:
! Emergency stop.
<read *>
l.131 \endinput
^^M
No pages of output.
Transcript written on math.log.
, and CMA-ES. These are readily usable for the most
common population layouts. Specific genetic programming tools are provided in
the
gp module. A complete and efficient (and stand alone)
parallelization module, base on MPI, providing some very useful parallel
method is provided in the
dtm module. Finally, common benchmark
functions are readily implemented in the
benchmarks.