Arrivals at specific times

Description

Generator convenience function to generate arrivals at specific times.

Usage

1
at(...)

Arguments

...

a vector or multiple parameters of times at which to initiate an arrival.

Value

Returns a generator function.

See Also

add_generator.

Examples

1
2
3
4
t0 <- create_trajectory() %>% timeout(0)
env <- simmer(verbose=TRUE) %>%
  add_generator("dummy", t0, at(0, c(1,10,30), 40, 43)) %>%
  run(100)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.