Go backwards to a previous point in the trajectory. Useful to implement loops.
rollback(.trj, amount, times = Inf, check)
the trajectory object.
the amount of activities (of the same or parent trajectories) to roll back.
the number of repetitions until an arrival may continue.
a callable object (a function) which must return a boolean. If
Returns the trajectory object.