run: Run a Simulation

Description Usage Arguments Value See Also

View source: R/simulator-methods.R

Description

Execute steps until a given criterion.

Usage

1
2
3
run(.env, until = 1000, progress = NULL, steps = 10)

onestep(.env)

Arguments

.env

the simulation environment.

until

stop time.

progress

optional callback to show the progress of the simulation. The completed ratio is periodically passed as argument to the callback.

steps

number of steps to show as progress (it takes effect only if progress is provided).

Value

Returns the simulation environment.

See Also

reset.


simmer documentation built on Nov. 17, 2017, 5:37 a.m.