Closed mjcortejo closed 1 year ago
Might have to implement weighted probability of choices [car will leave, car will stay], using these functions:
https://pynative.com/python-weighted-random-choices-with-probability/
Was thinking of implementing a timer based implementation instead, but still using normal distribution between a time range.
ex. [500, 1000] ticks
Need to brainstorm
Ok it actually works.
The theoretical impact of a different lower mean value could mean higher priced tickets.
Issues: On the normal distribution when the array is clipped after performing normal distribution, a lot of them contain more values from the minimum clip value (e.g. 500) . We might just have to remove all values from the minimum instead
Will remove min values in another branch, will close this one