Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch with timeout=Inf should be equivalent to timeout=0 (disabled) #184

Closed
Enchufa2 opened this Issue Jan 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Enchufa2
Copy link
Member

Enchufa2 commented Jan 16, 2019

Reprex:

library(simmer)

t <- trajectory() %>%
  batch(2, timeout = Inf)

simmer() %>%
  add_generator("dummy", t, at(0, 2)) %>%
  run() %>%
  get_mon_arrivals()
#>     name start_time end_time activity_time finished replication
#> 1 dummy0          0        1             0     TRUE           1
#> 2 dummy1          2        2             0     TRUE           1

The end_time for the first arrival should be 2.

@Enchufa2 Enchufa2 added the bug label Jan 16, 2019

@Enchufa2 Enchufa2 closed this in cefb3e0 Jan 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.