Execute steps until a given criterion.
run(.env, until = Inf, progress = NULL, steps = 10)stepn(.env, n = 1)
the simulation environment.
stop time.
optional callback to show the progress of the simulation. The completed ratio is periodically passed as argument to the callback.
number of steps to show as progress (it takes effect only if
progress
is provided).
number of events to simulate.
Returns the simulation environment.