Open Shandon96 opened 3 years ago
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!
Topic:
Specific Topics this question is related to (If Any)
Screenshots (if any):
Insert Images here if necessary