seize Trigger
fun seizeTrigger(queue: RequestQ, requestLocation: LocationIfc? = null, seizePriority: Int = ProcessModel.SEIZE_PRIORITY, resourceSelectionRule: MovableResourceSelectionRuleIfc = defaultMovableResourceSelectionRule, resourceAllocationRule: MovableResourceAllocationRuleIfc = defaultMovableResourceAllocationRule, recordRenegedWait: Boolean = true): WaitTrigger<Allocation>(source)
A trigger for a movable resource of this pool, for use in a wait for the first of several things (waitForFirst). As the trigger of a resource pool, for one unit. A null requestLocation means the entity's location when the wait starts, which is what seize uses by default.
Parameters
queue
the queue the request waits in
request Location
the location the request is made from
seize Priority
the priority of the yield a wait with this trigger makes before it starts
resource Selection Rule
the rule that selects the movable resource, as for seize
resource Allocation Rule
the rule that allocates it, as for seize
record Reneged Wait
whether a request that leaves without service records its wait in the queue's time in queue