mlpy.mdp.stateaction.RewardFunction.set

RewardFunction.set(value, *args, **kwargs)[source]

Set the reward value.

If cb_set is set, the callback will be called to set the value.

Parameters:

args : tuple

Positional arguments passed to the callback.

kwargs : dict

Non-positional arguments passed to the callback.