* Make the seed in default initialization controllable
Since seed() is being called in default initialization of Space, it should be controllable for reproducibility.
* Updated derived classes of Space to have their seeds controllable at initialization.
* Allow Tuple's spaces to each have their own seed
* Added dict based seeding for Dict space; test cases for Tuple and Dict seeding
* Update discrete.py
* Update test_spaces.py
* Add seed to __init__()
* blacked
* Fix black
* Fix failing tests
* Added support for fully S&B-compliant version of blackjack
* Added registration of Blackjack-v1, fully compliant with S&B
* black
* black
* Fix for an edge case where both self.sab and self.natural are true in blackjack. Shouldn't happen, but just in case.
* black
* Removed blackjack-v0 registration
* Add explicit "natural" kwarg to Blackjack-v1
* Bump Blackjack version in a test
* Fix seed method for Tuple and Dict
* Improve stochasticity
* Update test cases for seed method
* Update test cases for seed method
Update test cases for seed method
Update test cases for seed method
* box.contains check dtype and promote non-ndarrays
Closes: https://github.com/openai/gym/issues/2357 and #2298
Instead of only casting list to ndarray, cast any class to ndarray (if possible) and emit a warning when casting. Also, check if the dtype of the input matches the dtype of the space.
* use import warnings
* blackify
* changs from code review
* fix wrapped space
Co-authored-by: Tristan Deleu <tristandeleu@users.noreply.github.com>
* fix box bondaries
Co-authored-by: Tristan Deleu <tristandeleu@users.noreply.github.com>
* TEST: add regression test.
* STY: black
Co-authored-by: Tristan Deleu <tristandeleu@users.noreply.github.com>
* Autoclose manually maintained video recorders
* Update test case for VideoRecorder
* Update test case for VideoRecorder
* Update test case for VideoRecorder
* Add Algorithmic Environment documentation
I have added the documentation for algorithmic environments present on OpenAI gym.
Please note Reversed_Addition and Reversed_Addition3 have a single file and can be varied by giving rows parameter values 2,3 respectively.
The following work is still pending:
*Create a new table format to accommodate hyperlinks for value ranges that use parameters defined in the class
*Add documentation for Manual Control section
*Compute Average Reward
* Correct import statements in table
* Add Toy Text Environments
* New table struct for algorithm envs
* New table struct for toy text envs
* Remove algorithmic env
* Update taxi.md
Co-authored-by: J K Terry <justinkterry@gmail.com>