at: Arrivals at specific times

Description

Generator convenience function to generate arrivals at specific times.

Usage

1

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 <- trajectory() %>% timeout(0)
env <- simmer(verbose=TRUE) %>%
  add_generator("dummy", t0, at(0, c(1,10,30), 40, 43)) %>%
  run(100)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.