Skip to content

Rollback activity #17

Description

@Enchufa2

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions