Previously, passing a SeedSequence as a seed in EvolutionStrategyEmitter and GradientArborescenceEmitter threw an error because SeedSequence cannot be initialized from another SeedSequence. This PR adds checks for SeedSequence so that SeedSequence can be passed in as a seed in these two emitters. Note that in other emitters, the seed is passed directly to the default_rng(), which can handle SeedSequence as input.
Description
Previously, passing a SeedSequence as a seed in EvolutionStrategyEmitter and GradientArborescenceEmitter threw an error because SeedSequence cannot be initialized from another SeedSequence. This PR adds checks for SeedSequence so that SeedSequence can be passed in as a seed in these two emitters. Note that in other emitters, the seed is passed directly to the default_rng(), which can handle SeedSequence as input.
Status
yapf
pytest
pylint
HISTORY.md