Selects a resource for a subsequent seize/release.
select(traj, resources, policy = c("shortest-queue", "round-robin",
"first-available", "random"), id = 0)
the trajectory object.
one or more resource names, or a callable object (a function) which must return a resource name to select.
if resources
is a vector of names, this parameter determines
the criteria for selecting a resource among the set of policies available; otherwise,
it is ignored.
selection identifier for nested usage.
The trajectory object.
seize_selected, release_selected. Other methods for dealing with trajectories: create_trajectory, get_head, get_tail, get_n_activities, join, seize, release, set_attribute, timeout, branch, rollback, leave.