Activity for leaving the trajectory with some probability.
leave(.trj, prob)
the trajectory object.
a probability or a function returning a probability.
Returns the trajectory object.
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.