[FEATURE] Intelligent Elevator #89

Open
opened 2023-09-21 19:16:44 +00:00 by xCraimax · 3 comments
xCraimax commented 2023-09-21 19:16:44 +00:00 (Migrated from github.com)

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.

**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 commented 2023-09-21 19:17:03 +00:00 (Migrated from github.com)

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

(and sorry for the many issues, and feature requests xD Just trying to help to make this plugin better ^^')
stijnb1234 commented 2023-09-22 08:44:30 +00:00 (Migrated from github.com)

Already started implementing an algorithm like this.

Already started implementing an algorithm like this.
xCraimax commented 2023-09-22 08:49:37 +00:00 (Migrated from github.com)

Very cool!

Very cool!
Sign in to join this conversation.
No description provided.