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
339 6958 d 16 h ira /school/cs480/elevator/ Remove old code. Add asserts.  
338 6960 d 23 h ira /school/cs480/elevator/ Add copyright information.  
337 6961 d 0 h ira /school/cs480/elevator/ Add asserts to the Elevator class.  
335 6961 d 0 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 11 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 14 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 12 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.
 
330 6964 d 14 h ira /school/cs480/elevator/ Fix rounding issues.
Make majors bugfixes to near_a_floor() and near_floor().
 
329 6964 d 14 h ira /school/cs480/elevator/ Updates  
328 6967 d 22 h ira /school/cs480/elevator/ Getting some more functionality  
321 6973 d 15 h ira /school/cs480/elevator/ Add the beginning of my elevator project. This should be a good checkpoint.