| EnvironmentContext | R Documentation |
Optional. Provides named external signals and world-step/reset hooks for ABM or RL scenarios. Designed to accommodate multi-entity ABM (an add-on sub-repo) without requiring Engine architectural changes.
EnvironmentContext(
signals = NULL,
step_fn = NULL,
reset_fn = NULL,
info = NULL
)
signals |
Optional named list of external signal values visible to the policy at each decision point. |
step_fn |
Optional function; advances the world by one step (ABM/RL use cases). |
reset_fn |
Optional function; resets the world state (RL use cases). |
info |
Optional named list of auxiliary metadata from the environment. |
A list of class "EnvironmentContext".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.