Important Differences

As this library is an evolution of the original DEAP library (pun intended), there are a few important differences that the user should be aware of:

  1. The whole codebase has been completely refactored for better usability and maintainability.

  2. Algorithms, strategies and benchmarks have been moved into the tools namespace.

  3. All camelCase functions and methods have been renamed to snake_case.

  4. Some functions and/or methods have been completely renamed.

  5. All functions and methods have received proper type hints.

  6. The parameters of many functions have been reordered and/or renamed.

  7. Some properties of classes have been changed into method calls.

  8. The least_contrib hypervolume indicator is now capable of multiprocessing.

  9. The hypervolume class is now pure-python only. The C-implementation has been removed to eliminate complexities regarding external module compilation.

  10. State persistence has been implemented with the Checkpoint class.

  11. All deprecated and obsolete code is removed.

  12. The whole documentation has been reworked for better comprehensibility.