Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification of requirements for lab 8 #330

Open
BharathSShankar opened this issue Nov 28, 2022 · 15 comments
Open

Clarification of requirements for lab 8 #330

BharathSShankar opened this issue Nov 28, 2022 · 15 comments

Comments

@BharathSShankar
Copy link

Summary

Do we need to consider each self checkout have having q spots? Or q spots shared among the self checkout line?

@BrianNeo00
Copy link

The q spots are shared among the self checkout line. each checkout counter can only serve one person at a time, similar to how a self-checkout works at NTUC

@mersoncheong
Copy link

only the main selfcheckout counter will have a queue

@shecheeyee
Copy link

You will only need to consider 1 main queue, customers will wait here till any of the self-checkout counters are free. The self-checkout counters will have a maximum of 1 customer (the one being served).

@loberyyq
Copy link

the queue is shared, regardless of the number of self-check counters, there is only one queue for it, and the qmax is the same as human servers

@ShiJiaAo
Copy link

for me i thought not so much about the queue being shared. i just gave only the first self checkout a queue and for the rest i initialised them with queue size 0

@bryanongliming
Copy link

all self-checkout counters will share the same queue, and it is said that the customers in the queue are waiting for the 1st self checkout counter by default. but remember that when the customers are served, you will have to know exactly which self-checkout counter the customer is using!

@glendon29
Copy link

If u have implemented ur human server queue properly , the self checkout should be similar in the sense that

  1. u check if there is any free counter
  2. if no , just queue them in k + 1
  3. anytime there is any counter that is done serving immediately retrieve the first customer in the queue and do a serve event

@izascia256
Copy link

Just imagine the self checkout counters at a supermarket. There is a single consolidated queue.

You will always wait at the first self checkout counter but you will be served by whichever counter that becomes free first.

@wjiayis
Copy link

wjiayis commented Nov 29, 2022

The queue is shared among all counters. If you were to queue customers individually, be sure that the sum adds up to q (although I wouldn't recommend using this approach).

@liewyungjun
Copy link

all self checkout counters share one queue, which is the main difference between self checkout counters and human server counters. you'll have to think about how to allocate customers in the queue to self checkout counters once any self checkout counters are freed up

@mohddanesh
Copy link

its a shared queue

@acekhoon
Copy link

Q spots are shared among selfcheckout counters. Thus, they have common queues

@Penghao-99
Copy link

all the self checkout counters share 1 queue, just like in real life

@K-a-y-a
Copy link

K-a-y-a commented Nov 29, 2022

there is a single q shared by all the self-checkout counters.

@ZYN2122
Copy link

ZYN2122 commented Nov 29, 2022

There is only 1 queue for all the selfcheckout counters!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests