metarl.np.policies.scripted_policy module¶
Simulates a metarl policy object.
-
class
ScriptedPolicy(scripted_actions, agent_env_infos=None)[source]¶ Bases:
objectSimulates a metarl policy object.
Parameters: - scripted actions (-) – data structure indexed by obervation, returns a corresponding action
- agent_env_infos (-) – data structure indexed by obervation, returns a corresponding agent_env_info