Skip to content

Monitoring: start/activity/end time per resource #38

Description

@Enchufa2

This is a very useful feature. In fact, I've received another email asking for it, so I've started the implementation, but I need your feedback, @bart6114. Right now, we have this:

head( env %>% get_mon_arrivals() )
#>       name start_time end_time activity_time finished replication
#> 1 patient0   10.27215 53.74036      43.46821     TRUE           1
#> 2 patient1   16.27760 64.65632      38.13386     TRUE           1

In order to keep backward compatibility, we can add a parameter. For instance:

head( env %>% get_mon_arrivals(per_resource = TRUE) )
#>       name start_time end_time activity_time finished resource replication
#> 1 patient0   10.27215 12.74036       9.46821     TRUE    nurse           1
#> 2 patient0   12.74036 33.65632      20.91596     TRUE   doctor           1
#> ...

What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions