-
Notifications
You must be signed in to change notification settings - Fork 48
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
Project 2 test 7_4 #578
Comments
The inputs for 7_4 are 2, 5, 0, 10, 1000, 7, 1, 1, 0, 0.5. Best of luck :) |
Seems like there is something wrong with the queue of the servers / waitEvent. Have you checked if you used the correct maxQueue? If it's correct, you might want to print out the servers and their queue status to see what went wrong. |
you can try printing out the servers (with their queue lengths) and spot any unexpected jump/drop. might help in finding out where the transition went wrong |
Try printing out your the number of customers in queue when each customer arrives, and check whether the queue number has been updated correctly! Helped me alot for debugging |
Thanks so much everyone!! Especially @aaron_ljx for the inputs, they were really helpful. I'm left with javadocs and checkstyles. All the best to the rest of us who are still struggling :) |
Description
Hi guys, I'm on the last leg of project 2, but I don't know how to even start debugging test 7_4. Does anyone know the inputs, or any advice on what might be the problem? Any help is highly appreciated!
![image](https://user-images.githubusercontent.com/36838345/100616882-b3b22c80-3354-11eb-823b-10b7dd93dbb3.png)
Topic:
Specific Topics this question is related to (If Any)
Screenshots (if any):
Insert Images here if necessary
The text was updated successfully, but these errors were encountered: