You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
Currently, the Lift has a "Queue", which isn't very smart.
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
→ Now the Elevator firstly lifts itself up to floor 3 and then again down to floor 2, which isn't very effective.
Describe the solution you'd like
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
Lift goes to floor 2, picks person 2 up. Person 2 now selects floor 1.
Now the Lift should go to floor 3, because floor 3 was picked prior to floor 1.
Describe alternatives you've considered
Not implementing it, because its too much.
Additional context
Would be very smart, for skyscrapers with 20+ floors.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the Lift has a "Queue", which isn't very smart.
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
→ Now the Elevator firstly lifts itself up to floor 3 and then again down to floor 2, which isn't very effective.
Describe the solution you'd like
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
Lift goes to floor 2, picks person 2 up. Person 2 now selects floor 1.
Now the Lift should go to floor 3, because floor 3 was picked prior to floor 1.
Describe alternatives you've considered
Not implementing it, because its too much.
Additional context
Would be very smart, for skyscrapers with 20+ floors.
The text was updated successfully, but these errors were encountered: