Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
AlmondSauce16719254dIt's often very dumb - sometimes just "round robin" style calling one lift after the other in my experience. Never worked in that area though.
-
CoreFusionX2988254dLast time I checked (only time actually) the system favours keeping elevators near ground floor, because that's where they are most required.
Of course this was in an office building so it might be different for residential ones. -
Berkmann181245254dFrom what I've noticed after living in two apartment complexes for years, it will try call the one that is free (even when both appears to be free, but one may be kept open or just happen to be opened at the floor it was on) or the closest one that typically happens to not be at the ground floor.
-
scor3817253dBeautiful prioritisation. Most are kept at math.random(), while bosses and the comms ppl get their levels and times prioritised.
-
saucyatom2526250dImagine an elevator that is running JS. Should come with a warning sign.
»Uh, I'll take the stairs, thanks.«
How the fuck are lifts programmed? Two lifts in a shaft, one at level 0, the other at level 4, I call it from level -1. Which one comes? You bet your ass it's the one from lvl 4. Is it Math.random()?
rant