Back to Discover
Curiosity

地铁换乘怎么秒级排出最优路线

地铁 App 用从起点按乘车时间逐层向外扩展的贪心搜索,每个站点只保留一次最优到达方式,因此几秒内就能锁定全程最短的换乘路线。

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 7 scenes and explore, respond, and learn as you go.

7
Scenes
14 min
Estimated
Content language: zh-CN
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01几秒排出最优换乘?slide
  2. 02把所有换乘组合列出来比一比?interactive
  3. 03一圈圈向外推:扩散波纹slide
  4. 04为什么“只检查一次”就够了?slide
  5. 05迁移一下:城际铁路规划呢?quiz
  6. 06什么时候这个思路会不够用?slide
  7. 07回到开头的问题slide
Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Other versions of this lesson
Explore more

More in Math & Logic

See all