icaros-usc / pyribs

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

Use seed instead of rng in ranker #432

Closed btjanaka closed 10 months ago

btjanaka commented 10 months ago

Description

Previously, we passed in an rng to every ranker method, which is inconsistent with other composed objects in pyribs like ES's. Thus, this PR switches rankers to take in a seed and manage their randomness by holding their own RNG.

TODO

Questions

Status