Subversion Repositories programming

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
338 6961 d 2 h ira /school/cs480/elevator/ Add copyright information.  
336 6961 d 3 h ira /school/cs480/elevator/ Remove extraneous comment.
Add asserts.
 
335 6961 d 4 h ira /school/cs480/elevator/ Use bounds-checked access on vector stop_at_floors.
Drastically simplify Controller::find_closest_elevator() and
make it actually work.
 
334 6961 d 14 h ira /school/cs480/elevator/ All floors are now indexed by 0.
Floors are now in the range [0,num_floors-1] instead of [1,num_floors].
Switch to bounds-checked vector indexing.
Make the elevator vector take Elevator* not Elevator, since we weren't
constructing them properly.
Fix Controller::find_closest_elevator().
 
332 6961 d 17 h ira /school/cs480/elevator/ Add QUIET support to Makefile and related classes.
Fix usage of std::vector in constructors.
Add direction support to Controller::request_elevator().
 
331 6964 d 15 h ira /school/cs480/elevator/ Add the link between Controller and Elevator.
Add functions to Controller to start and stop elevators.
Rename Elevator's thread_exit() function to thread_stop().
Make Elevators pause and ask for buttons when they stop at a floor.
 
329 6964 d 18 h ira /school/cs480/elevator/ Updates  
328 6968 d 2 h ira /school/cs480/elevator/ Getting some more functionality  
321 6973 d 18 h ira /school/cs480/elevator/ Add the beginning of my elevator project. This should be a good checkpoint.