Show Bid Request
use a single priority queue to simulate a day functioning of a clinic
Bid Request Id: 36668
|
|
|
Posted by: |
999 (1 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Nov 22, 2002 4:22:33 PM EDT
|
Bidding Closes: |
Dec 6, 2002 6:04:19 PM EDT
|
Viewed (by coders): |
103 times
|
Deadline: |
12/7/2002 2:00:00 PM
TIME EXPIRED
|
|
|
|
Description:
a walk-in patients in a medical clinic are treated in a priority queue( priority number in range 1 to 4). lower priority treated first. same priority treated as frist-in frist-out. doctors work independently, when one is free he take the next patient. the treatment takes 3 minutes for the patient with priority 4, 4 minutes for patients with priority 2 or 3 and 5 minutes for patients with priority 1. no break during the work day. use a single priority queue to simulate a days functioning of the clinic. determine the number of patients in each category treated and the average wait time for a patient in each category. patients informations input from file data. looks like
2.2 tim 4 2.8 john 2 3.3 brain 2 3.5 ken 3
first number is patient's arrival time, followed by patient's name,followed by priority your program should be event-driven and produce appropriate output at the processing of each event. output all statistics patients arrive during the 6AM to 10 PM will be treated. use a single priority queue. (put the arrival time and a priority category in a single priority number) use wiess code(template)
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
win 98 c++
Must be 100% finished and received by buyer on:
Dec 7, 2002 2:00:00 PM EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
must be completed by 11/24/02 3:00:00 PM
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
|
|