eprllib.Agents.Rewards.BaseReward

Contents

eprllib.Agents.Rewards.BaseReward#

Reward Function#

This module contains the base class for defining reward functions.

It is 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 an array may change.

Classes

BaseReward([reward_fn_config])

This class is the base class for defining reward functions.