MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / should_terminate_episode

Method should_terminate_episode

dm_control/composer/task.py:288–297  ·  view source on GitHub ↗

Determines whether the episode should terminate given the physics state. Args: physics: A Physics object Returns: A boolean

(self, physics)

Source from the content-addressed store, hash-verified

286 raise NotImplementedError
287
288 def should_terminate_episode(self, physics): # pylint: disable=unused-argument
289 """Determines whether the episode should terminate given the physics state.
290
291 Args:
292 physics: A Physics object
293
294 Returns:
295 A boolean
296 """
297 return False
298
299 def get_discount(self, physics): # pylint: disable=unused-argument
300 """Calculates the reward discount factor given the physics state.

Callers 1

stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected