powered by
Adds a new activity that terminates the trajectory with some probability.
leave(traj, prob)
the trajectory object.
a probability or a function returning a probability.
The trajectory object.
Other methods for dealing with trajectories: create_trajectory, get_head, get_tail, get_n_activities, join, seize, release, set_attribute, timeout, branch, rollback, seize_selected, release_selected, select.