elevators

I wonder why elevator buttons aren’t toggle buttons… Many a time the wrong button is pressed and the elevator must then take the extra time to stop, when cancelling the mistake would have been quick and efficient.

This has got me thinking about elevator algorithms (i.e. real elevator algorithms, not the elevator algorithm).