Project 1 - Algorith Implementation
Instructions to run the program
Write user inputs in the input.txt file.
Run Project1_starter.py. The script will read 10 sets of inputs from the input.txt file.
View the output of the algorithm in the output.txt file.
Input.txt file already contains 10 sets of inputs that can be edited for testing purposes.
To avoid missing txt file error when running the script, run the following command from the root folder.
python3 Project1_starter.py
or
python Project1_starter.py
First line reads the number of members
Second line read the minimum minutes required
Rest of the reads will be the busy schedule and available time of each member
[00:00] is used to indicate that a member doesnt have a busy schedule
2 # 2 members
30 # 30 minutes minimum
[07:00,08:30],[12:00,13:00] # Member 1's busy scheule
[08:00,12:00] # Member 1's login-logout interval
[07:00,08:30],[12:00,13:00] # Member 2's busy scheule
[13:00,20:00] # Member 2's login-logout interval
2 # 2 members
30 # 30 minutes minimum
[00:00] # Member 1 Empty busy schedule
[08:00,12:00] # Member 1's login-logout interval
[00:00] # Member 2 Empty busy schedule
[13:00,20:00] # Member 2's login-logout interval