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:
Sridhar Thiagarajan
2019-07-12 14:32:41 -07:00
committed by pzhokhov
parent 72806c544a
commit 5c11d19937

View File

@@ -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):