godatadriven / evol

a python grammar for evolutionary algorithms and heuristics
https://evol.rtfd.io
MIT License
187 stars 12 forks source link

Remove logging #140

Closed koaning closed 5 years ago

koaning commented 5 years ago

Logging has now been removed from the population object. This caused a few changes:

  1. I found a small bug where the **kwargs weren't passed from the Evolution to the step. This was fixed.
  2. Logger is no longer passed to the population object but can be passed to the .callback() mechanic or called directly.
  3. The tests have been changed to reflect this change.

There is a TODO to add a ExceptionType for PopulationNotEvaluated. This will be added later to prevent merge hardship.

koaning commented 5 years ago

It seems good to merge https://github.com/godatadriven/evol/pull/139 first since I've removed travis fucntionality in the meantime.