https://kotlinlang.org logo
#science
Title
# science
t

thomasnield

01/02/2019, 8:29 PM
@altavir why are you using a Poisson distribution for elapsed times between customer arrivals. Shouldn't it be
Exponential
? like this?
😳 1
a

altavir

01/02/2019, 8:59 PM
Indeed. I was experimenting with different distributions an committed wrong version. It should be exponential
t

thomasnield

01/02/2019, 9:01 PM
okay, glad I caught it. I have a PR here of some changes I made. Since this is a toy problem for videos, blogs, and talks possibly... I'm going to have a non-coroutines implementation that won't scare folks alongside a coroutine one.
a

altavir

01/02/2019, 9:01 PM
Serve time is normal, but arrival should be exp
t

thomasnield

01/02/2019, 9:02 PM
@altavir yes, that makes sense and I left the
Normal
distribution alone.
10 Views