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

Comments

Projects
None yet
1 participant
@Enchufa2
Member

Enchufa2 commented Nov 20, 2015

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

This comment has been minimized.

Member

Enchufa2 commented Nov 21, 2015

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 closed this Nov 21, 2015

@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