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

Method get_discount

dm_control/composer/task.py:299–308  ·  view source on GitHub ↗

Calculates the reward discount factor given the physics state. Args: physics: A Physics object Returns: A float

(self, physics)

Source from the content-addressed store, hash-verified

297 return False
298
299 def get_discount(self, physics): # pylint: disable=unused-argument
300 """Calculates the reward discount factor given the physics state.
301
302 Args:
303 physics: A Physics object
304
305 Returns:
306 A float
307 """
308 return 1.0
309
310
311class NullTask(Task):

Callers 1

stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected