Learn R Programming

simmer (version 3.3.0.9000)

release: Add a release activity

Description

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

Usage

release(traj, resource, amount = 1)

Arguments

traj

the trajectory object.

resource

the name of the resource.

amount

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

Value

The trajectory object.

See Also

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