eprllib.Agents.Filters.BaseFilter

Contents

eprllib.Agents.Filters.BaseFilter#

Base Filter#

This module contains the base class for defining Filter functions used in agent specifications. Filter``s are used to preprocess observations before they are fed to the agent. The ``BaseFilter class provides the basic structure and methods that can be extended to create custom ``Filter``s.

This class can not be used directly in eprllib, but as a base to create new ```Filter``s. All the ``Filter``s must be based in this class.

The methods provided here are used during inizialization and execution of the environment. You have to overwrite the following methods:

  • setup(self)

  • _get_filtered_obs

Classes

BaseFilter(agent_name[, filter_fn_config])

Base class for defining filter functions used in agent specifications.