Learn R Programming

simmer (version 3.3.0.9000)

release_selected: Add a release activity

Description

Adds a new activity capable of releasing a previously selected resource to the tail of a trajectory.

Usage

release_selected(traj, amount = 1, id = 0)

Arguments

traj

the trajectory object.

amount

the amount to release, accepts either a callable object (a function) or a numeric value.

id

selection identifier for nested usage.

Value

The trajectory object.

See Also

seize_selected, select. Other methods for dealing with trajectories: create_trajectory, get_head, get_tail, get_n_activities, join, seize, release, set_attribute, timeout, branch, rollback, leave.