Add elevator module: State-pattern car (idle, moving, doors open, maintenance), LOOK stop rule, round-robin / nearest-car / ETA dispatchers, tick simulation on seeded traffic (8 test classes, 13 transcripts)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6W3VPEBweaeA5DE4n
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Requests the building refuses, and the exact message
|
||||
====================================================
|
||||
|
||||
origin above the top floor -> origin floor 12 is outside 0..9
|
||||
origin below the ground floor -> origin floor -1 is outside 0..9
|
||||
destination above the top floor -> destination floor 10 is outside 0..9
|
||||
destination below the ground floor -> destination floor -4 is outside 0..9
|
||||
same origin and destination -> origin and destination are both floor 5
|
||||
|
||||
people waiting afterwards: 0, hall calls dispatched: 0
|
||||
Reference in New Issue
Block a user