Jump to content
  • Advertisement
Sign in to follow this  
touches

Round Robin Scheduling help???

This topic is 3175 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well my problem is i have a set of customers with allotted time to work on a machine like: 7,11,3,4,14---(this is the time each customer needs to use the machine) and the machine time slot is 7--(this is the time which is alotted to each customer by the machine).. the customer who has the minimum usage time will be assigned first and then the next customer follows.. how do i calculate the order in which the customer uses till all the customers finish using their allotted time on the machine ?? Can i implement this in java using a queue??? I can understand the Round Robin algorithm with simple examples but this one is confusing me as i get the answers wrongly.. Any help on how to calculate the process allocation??

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!