Class representing an Agent object for dictating policy through time and storing value function (that maps states of the model to actions).
See Simulation for examples.
new()Agent$new(verbose = FALSE)
verboseLog verbosity.
start_simulation()Initialize the Agent object for the start of a simulation/
Agent$start_simulation(state)
stateInitial state.
An action.
step()Method called at the start of each simulation
Agent$step(state)
stateNew state.
Should return an action (current an empty dict).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.