- startElevatorImprovedStrategy() under construction.
- changeDirection() bug fixed (missing else).
- startElevatorImprovedStrategy() finished but with some bugs.
- "i--" added to the end of the if condition in the for loop of dropping off customers - in both default and improved strategy. This should hopefully solve all bugs in both strategies.
- Another option has been added to the direction changing condition: elevator is at top floor.
- Direction changing has been separated to a few different if statements. First the program checks if the elevator is at the top floor, in which case it changes the direction to "down". Then it checks if it's at the bottom floor, in which case it changes the direction to "up". Then it checks the original condition (if there are customers waiting in the elevator's direction or customers in the elevator).
- customersWaitingInDirection() logic improved.
* startElevatorImprovedStrategy() still needs some work (bug fixes, improvements and added functionality).