set_prioritization: Set Prioritization Values

Description Usage Arguments Value See Also

View source: R/trajectory-activities.R

Description

Activity for modifying an arrival's prioritization values.

Usage

1
set_prioritization(.trj, values)

Arguments

.trj

the trajectory object.

values

expects either a vector/list or a callable object (a function) returning a vector/list of three values c(priority, preemptible, restart). A negative value leaves the corresponding parameter unchanged. See add_generator for more information about these parameters.

Value

Returns the trajectory object.

See Also

get_prioritization.


simmer documentation built on July 28, 2017, 9:01 a.m.