Learn R Programming

simmer (version 3.1.1)

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.

Value

The trajectory object.

See Also

Other methods to deal with trajectories: create_trajectory, get_head, get_tail, get_n_activities, seize, timeout, set_attribute, branch, rollback.