Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches

◆ reset()

def Cope.gym.SimpleGym.reset (   self,
  seed = None,
  options = None 
)

This sets the self.np_random to use the seed given, resets the steps, and returns the observation and info.

Needs to be called first, if you're depending on self.np_random, or steps equalling 0, but also needs to return what this returns.

Definition at line 212 of file gym.py.