icaros-usc / pyribs

A bare-bones Python library for quality diversity optimization.
https://pyribs.org
MIT License
208 stars 33 forks source link

Remove DQDEmitterBase #264

Closed itsdawei closed 1 year ago

itsdawei commented 1 year ago

Description

Remove DQDEmitter base.

For emitters, I noticed that GaussianEmitter and IsoLineEmitter don't do anything in their tell() methods, and I also noticed it's a bit clunky to have DQDEmitterBase in the hierarchy. What if we made ask(), tell(), ask_dqd(), and tell_dqd() all have default behaviors of doing nothing (i.e. the ask methods return an empty array, and the tell methods do nothing). Then we could get rid of DQDEmitterBase because calling ask_dqd() and tell_dqd( on a given emitter would simply do nothing.

TODO

Questions

Status