(self, physics)
return rewards.tolerance(physics.speed(),
                             bounds=(_RUN_SPEED, float('inf')),
                             margin=_RUN_SPEED,
                             value_at_margin=0,
                             sigmoid='linear')
Returns a reward to the agent.
Returns a reward to the agent.
Returns a reward to the agent .
def get_reward(self, physics):
    """Returns a reward to the agent."""
    return rewards.tolerance(physics.speed(),
                             bounds=(_RUN_SPEED, float('inf')),
                             margin=_RUN_SPEED,
                             value_at_margin=0,
                             sigmoid='linear')
def get_reward ( self , physics ) : return rewards . tolerance ( physics . speed ( ) , bounds = ( _RUN_SPEED , float ( 'inf' ) ) , margin = _RUN_SPEED , value_at_margin = 0 , sigmoid = 'linear' )