rl-institut / smooth

Simulation framework for non-linear state-dependant energy systems
Other
6 stars 7 forks source link

changed population creation in gradient ascent #174

Closed stefansc1 closed 4 years ago

stefansc1 commented 4 years ago

Fix #170

During gradient ascent, new children are only created for parents that still have improvement potential. Any empty slots in the population short of n_cores are filled up by the same children with multiples in their step size. This effectively checks parents multiple steps ahead during the same generation, instead of only one step ahead.