Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 388 Bytes

README.md

File metadata and controls

8 lines (8 loc) · 388 Bytes

Usage

  • Open up python repl in root dir: python
  • Import controller: from controller import Controller
    • Create the system: controller = Controller()
    • View initialized system with custom repr: controller
    • Add elevator: controller.add_elevator()
    • Request pickup: controller.request_pickup(floor)
    • Request dropoff: controller.request_dropoff(elevator, floor)