alcides / GeneticEngine

A Hybrid between Grammar-Guided and Strongly-Typed Genetic Programming in Python
31 stars 5 forks source link

Change GeneticStep to use Iterators #164

Closed alcides closed 3 months ago

alcides commented 3 months ago

This PR will allow the first individual to be evaluated before the second individual is generated.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 84.61538% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 86.40%. Comparing base (5fc0e3d) to head (9bc5ffc).

Files Patch % Lines
geneticengine/representations/tree/operators.py 33.33% 10 Missing :warning:
tests/gp/performance_test.py 0.00% 5 Missing :warning:
geneticengine/algorithms/gp/operators/selection.py 62.50% 3 Missing :warning:
...eticengine/algorithms/gp/operators/initializers.py 60.00% 2 Missing :warning:
geneticengine/representations/common.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #164 +/- ## ========================================== + Coverage 86.33% 86.40% +0.07% ========================================== Files 84 83 -1 Lines 4229 4193 -36 ========================================== - Hits 3651 3623 -28 + Misses 578 570 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.