Activity for leaving the trajectory with some probability.
Usage
leave(.trj, prob)
Arguments
.trj
the trajectory object.
prob
a probability or a function returning a probability.
Value
Returns the trajectory object.
Details
Arrivals that leave the trajectory will set the finished flag
to FALSE in the output of get_mon_arrivals. Unfinished
arrivals can be handled with a drop-out trajectory that can be set using the
handle_unfinished activity.