Fork me on GitHub
Daniel Craig02:11:34

Thanks, I was hoping to find something like this!

Daniel Craig03:11:59

I want to model the scenario where I have a set number of chairs that can be sat in and an unknown number of people who can sit in them. No chair can have more than one person sitting in it, and there can be no ‘lining up’ to wait for a chair to become empty. A person can sit in a chair only if it’s empty. How do I model this?

Daniel Craig03:11:11

I promise this isn’t homework

🙂 3

Sounds like text book queueing theory


You have a queue of people, and each chair is a worker occupied with the work of supporting a person for some amount of time