This document is a GitHub repository for a Python implementation of the state pattern for modeling an elevator system. The repository contains three files - Elevator.py which implements the elevator logic, States.py which defines the different states an elevator can be in, and __init__.py to initialize the package. The last commit to the repository was over 5 months ago.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
35 views1 page
State Pattern
This document is a GitHub repository for a Python implementation of the state pattern for modeling an elevator system. The repository contains three files - Elevator.py which implements the elevator logic, States.py which defines the different states an elevator can be in, and __init__.py to initialize the package. The last commit to the repository was over 5 months ago.