Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 standby list
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
unoho




PostPosted: Thu Mar 10, 2011 12:18 am   Post subject: standby list

So we are doing this assignment in class and one of the question is like implement a hybrid data structure for storing information about passengers waiting for a stand-by seat on a flight.
and they call it "stand-by list".

basically we take a queue and BST(binary search tree) and combine them to get a stand-by list..somehow..

so i was wondering if any of you good fellas ever heard about this..if so could you please post a picture on how this may look like? this is soo vague (to me, of course) and i cant imagine how it would look like.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Mar 10, 2011 12:27 am   Post subject: RE:standby list

would it be anything like http://en.wikipedia.org/wiki/Priority_queue ?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
unoho




PostPosted: Thu Mar 10, 2011 12:41 am   Post subject: RE:standby list

oh no..we already did a priority queue assignment...in fact that was our last assignment..its really hard to describe what a stand-by list is..

i hate these hybrid data structures Sad
OneOffDriveByPoster




PostPosted: Thu Mar 10, 2011 10:30 am   Post subject: Re: standby list

unoho @ Thu Mar 10, 2011 12:18 am wrote:
basically we take a queue and BST(binary search tree) and combine them to get a stand-by list..somehow..
So what operations are supposed to be available and which ones are supposed to be more efficient? What was the backing data structure you used for the priority queue in the last assignment?
unoho




PostPosted: Thu Mar 10, 2011 6:00 pm   Post subject: Re: standby list

Posted Image, might have been reduced in size. Click Image to view fullscreen.

so ya i kinda figured it out..but thanks anyways.. Very Happy
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: