Simulation of nonhomogeneous poisson processes by thinning

Simulation of nonhomogeneous poisson processes by thinning