|
-
Mar 2nd, 2003, 06:46 PM
#1
Thread Starter
Addicted Member
How should I do this?
I'm working on a school project where I need to make an event simulation. Each event takes place with certain time parameters. Like a start time and a completion time. I've made a prioirty queue to handel the order of events. And now I'm working on a event class to store data about the events so as to pass them to my PQ.
The user inputs simulation iinformation like time to run sim for, %s for customers, and so one. Instead of saving these as global varibles I was thinking of making a class to store the info in then some how inheriting or polymorphing a class of type sub-event for individual-customer events that the priority queue could take care of...
Any ideas on this?
NOMAD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|