Instructions to run project:
The problem statement is to allocate each passenger to a seat which is given as the input to the program based on the following constraints.
Always seat passengers starting from the front row to back, starting from the left to the right Fill aisle seats first followed by window seats followed by center seats (any order in center seats)
Prerequisistes:
Python 3.6 and above needs to be installed
- RUN python -m pip install pyyaml
2.RUN pip install -r requirements.txt
This is written using python3. To run the program run python seating.py in the command prompt.
It prompts few questions, answer accordingly. Input can be given in terminal or can be given in configurtion file present in config/input.yaml
Output can be displayed in console (Recommended) and also in file (outputs/output.txt)