HELLO MY GROUP

Please, help me speedily; because Due Date is: Monday 2 / 1 / 2006

Assignment # : The Elevator Simulator

Problem Statement:
   You are to implement a real time simulator of 5 elevator that are 
running concurrently servicing requests. You must use at least one 
thread per elevator and write the program in C or C++ or any 
language. The program should read from a file whose name is passed 
in at the command line and has commands of the type below.

UP FROM 4 TO 8
DOWN FROM 12 TO LOBBY
ELEVATOR 3 IS SHUTTING DOWN

Your program must read in text file tat are exactly in the format 
above (all upper case). Simulate 5 elevators: I through 5 and 12 
floors: LOBBY through 12. You can assume that there requests in the 
input file will never have 2 blanks in a row and it will be 
generated by a program. In the mean time, design your own input 
files. When and if I run your program I will supply the file name to 
read from. There is no limit to the number of requests on the file. 
Output should consist of a log written to an output file called 
sim.out. this log should be similar to the one in the Dining 
Philosopher problem in the book, indicating at a minimum the 
following actions:
 
   (1) Elevator master received a request and prints it out.
   (2) Current status whenever an elevator opens or closes its door 
(i.e. arrives at a        floor and leaves a floor).
   (3) A massage when a pick up or drop off is made { how many 
people }.
   (4) After the simulation is over with print out to the number of 
trips made going        up and the number of trips going down.

Implement the simulation in C or C++ or in your favorite language. 
If it does not run do not expect a grade better than a C.
Documentation should describe the program for future maintainers of 
the program. This can be in for form of comments. Explain what you 
did and the tricky stuff, if any.

As a minimum the overall grade will reflect:
   
   (1) Using THREADS.
   (2) Overall quality.
   (3) Were the directions in this handout followed properly?
   (4) Coding efficiency.
   (5) Coding style.
   (6) Quality of output, is it easy to read?

What you will hand in?
All work will be handed.

(( Please, help me speedily; because Due Date is: Monday 2 / 1 / 
2006 )).

      
  
 

thanks...





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to