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

Rollback activity #17

Closed
Enchufa2 opened this issue Nov 20, 2015 · 1 comment
Closed

Rollback activity #17

Enchufa2 opened this issue Nov 20, 2015 · 1 comment
Milestone

Comments

@Enchufa2
Copy link
Member

An activity to go back a number of steps (allow looping...). Use case:

t0 <- create_trajectory("trauma patient") %>%
  seize("doctor", 1) %>%
  timeout(function() rnorm(1,15)) %>%
  release("doctor", 1) %>%
  timeout(function() rnorm(1,15)) %>%
  # the patient returns to see the doctor again two more times
  rollback(4, times=2)
@Enchufa2
Copy link
Member Author

Done. Also, I changed the package version in the DESCRIPTION file to 3.1.0, but of course we'll add more features before the release.

@Enchufa2 Enchufa2 added this to the v3.1.0 milestone Dec 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant