mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-17 20:39:12 +00:00
Update spaces.py method definition (#1579)
* Updated spaces.py method description No longer sampling from uniform distribution always, changing distribution * update space.py sampling method description
This commit is contained in:
committed by
pzhokhov
parent
72806c544a
commit
5c11d19937
@@ -14,7 +14,8 @@ class Space(object):
|
||||
self.seed()
|
||||
|
||||
def sample(self):
|
||||
"""Uniformly randomly sample a random element of this space. """
|
||||
"""Randomly sample an element of this space. Can be
|
||||
uniform or non-uniform sampling based on boundedness of space."""
|
||||
raise NotImplementedError
|
||||
|
||||
def seed(self, seed=None):
|
||||
|
Reference in New Issue
Block a user