src/seals/base_envs.py
def reset(self) -> Observation:
        """Reset episode and return initial observation."""
        self.cur_state = self.initial_state()
        assert self.cur_state in self.state_space, f"unexpected state {self.cur_state}"
        self._n_actions_taken = 0
        return self.obs_from_state(self.cur_state)
Reset episode and return initial observation.
Reset episode and return initial observation.
Reset episode and return initial observation .
def reset(self) -> Observation:
        self.cur_state = self.initial_state()
        assert self.cur_state in self.state_space, f"unexpected state {self.cur_state}"
        self._n_actions_taken = 0
        return self.obs_from_state(self.cur_state)
def reset ( self ) -> Observation : self . cur_state = self . initial_state ( ) assert self . cur_state in self . state_space , f"unexpected state {self.cur_state}" self . _n_actions_taken = 0 return self . obs_from_state ( self . cur_state )
Reset episode and return initial observation.
Reset episode and return initial observation .
"""Reset episode and return initial observation."""
self