Posted by William D McQuain on December 02, 2001 at 15:03:00:
In Reply to: Question on list of trucks posted by Will Humphries on December 02, 2001 at 14:58:31:
: "The dispatcher has a list of available tow trucks, ..." (spec, p.1)
I meant "available" as in "existing". There should only be one list of tow trucks (although segregating busy ones from idle ones isn't forbidden, it just raises some issues).
: "The dispatcher will maintain a single list (or some other data structure) to organize the tow trucks." (spec, p.2)
: These statements have me a bit confused. Can our list of trucks contain the trucks that are currently on a job? Not sure if that makes them 'unavailable' in terms of spec jargon or not.
: Also, will there be any penalty if we dont use a 'preferred' data type for our truck list? ie: a static array of pointers to trucks with an int to keep track of cells being used, instead of an stl list of trucks.
Post a Followup