Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

[FEATURE] Intelligent Elevator #89

Open
xCraimax opened this issue Sep 21, 2023 · 3 comments
Open

[FEATURE] Intelligent Elevator #89

xCraimax opened this issue Sep 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@xCraimax
Copy link

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.

@xCraimax xCraimax added the enhancement New feature or request label Sep 21, 2023
@xCraimax
Copy link
Author

xCraimax commented Sep 21, 2023

(and sorry for the many issues, and feature requests xD
Just trying to help to make this plugin better ^^')

@stijnb1234
Copy link
Collaborator

Already started implementing an algorithm like this.

@xCraimax
Copy link
Author

Very cool!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants