eprllib.RewardFunctions.RewardFunctions

Contents

eprllib.RewardFunctions.RewardFunctions#

Reward Funtion#

This module contains the base reward function.

It has been preferred to use the infos dictionary and not the observation, since the latter is a numpy array and cannot be called by key values, which is prone to errors when developing the program and indexing a arrangement may change.

Classes

RewardFunction([reward_fn_config])

This class is the base class for the reward function.

RewardSpec([reward_fn, reward_fn_config])

RewardSpec is the base class for an reward specification to safe configuration of the object.