Stochastic-process rare-event sampling