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

Method get_reward

dm_control/rl/control.py:349–354  ·  view source on GitHub ↗

Returns a reward from the environment. Args: physics: Instance of `Physics`.

(self, physics)

Source from the content-addressed store, hash-verified

347
348 @abc.abstractmethod
349 def get_reward(self, physics):
350 """Returns a reward from the environment.
351
352 Args:
353 physics: Instance of `Physics`.
354 """
355
356 def get_termination(self, physics):
357 """If the episode should end, returns a final discount, otherwise None."""

Callers 2

after_stepMethod · 0.95
stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected