Elevators
> 电梯
HN 851 分 · 215 条评论 · 作者 Jrh0203 · 来源 john.fun · HN 讨论
> HN 851 分 · 215 条评论 · 作者 Jrh0203 · 来源 john.fun · HN 讨论
Elevators are far more complex than they appear, with sophisticated algorithms determining how they respond to button presses.
> 电梯远比表面看起来复杂,有复杂的算法决定它如何响应按钮按下。
The simplest algorithm is SCAN (patented in 1961), where the elevator travels from the lobby to the top floor and back, stopping along the way.
⋯ 继续阅读请开通会员 ⋯