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,5 @@
|
||||
Both cars out of service, one person presses a button
|
||||
=====================================================
|
||||
|
||||
after 10 ticks: delivered=0 waiting=1
|
||||
car1 returned to service: delivered after 11 more ticks
|
||||
Reference in New Issue
Block a user