How do I generate a Poisson Process?

后端 未结 8 2014
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 06:07

Original Question:

I want to generate a Poisson process. If the number of arrivals by time t is N(t) and I have a Poisson distribution with parameter

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-20 07:05

    The discussion here has all the details about using inverse sampling to generate inter-arrivals, which is usually what people want to do for games.

    https://stackoverflow.com/a/15307412/1650437

提交回复
热议问题