Class representing an environment object that defines the system.
See Simulation
for examples.
new()
Environment$new(verbose = FALSE)
verbose
Log verbosity.
step()
Method called at the start of each simulation
Environment$step(action)
action
Action to perform.
A vector in the format c(reward=R,next_start=N)
.
end_simulation()
End the simulation.
Environment$end_simulation()
start_simulation()
Initialize the Environment object for the start of a simulation.
Environment$start_simulation()
Returns the starting state.
start()
Get the starting state.
Environment$start()
Returns the starting state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.