Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
HELP WITH PRIORITY QUEUES. This small application
Author:
Kev Heywood
E-mail:
Click to e-mail author
Submitted:
5/24/2002
Version:
VB5
Compatibility:
VB5, VB6
Category:
Miscellaneous
Downloads:
7354
HELP WITH PRIORITY QUEUES. This small application was inspired by the request for help by R Al-shaer. Imagine a number of patients waiting in an emergency room of a local hospital. Priority is related to the seriousness of the patient's condition. (1 = most serious, 4 = least serious). We assume that a doctor spends 60 minutes with a patient whose priority is 1, 45 minutes for priority 2, 30 minutes for priority 3 and 15 minutes with a patient whose priority is 4. The patient's treatment is not interrupted, even if a more serious case arrives. Two Doctors are on call. Dr. Alpha starts seeing patients at 6:00 and Dr. Beta starts at 6:30. The programs goal is to list the patients in the order in which they will be treated.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement