Learn R Programming

simmer (version 3.0.0)

seize: Add a seize activity

Description

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

Usage

seize(traj, resource, amount)

Arguments

traj

the trajectory object.

resource

the name of the resource.

amount

the amount to seize.

Value

The trajectory object.

See Also

Other methods to deal with trajectories: create_trajectory, show_trajectory, get_head, get_tail, get_n_activities, release, timeout, branch.