Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Dijkstra’s Algorithm
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Chen
November 17, 2022
Science
0
120
Dijkstra’s Algorithm
Chen
November 17, 2022
Tweet
Share
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
61
defense
tiffany_04192
0
74
Floyd-Warshall
tiffany_04192
0
91
Topological sort DFS
tiffany_04192
0
93
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
120
Cache behavior
tiffany_04192
0
86
Cache miss paper
tiffany_04192
0
110
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
データベース08: 実体関連モデルとは?
trycycle
PRO
0
1k
AI(人工知能)の過去・現在・未来 —AIは人間を超えるのか—
tagtag
PRO
0
160
コミュニティサイエンスの実践@日本認知科学会2025
hayataka88
0
150
baseballrによるMLBデータの抽出と階層ベイズモデルによる打率の推定 / TokyoR118
dropout009
2
880
Conversation is the New Dashboard: 属人性を排除する第4世代BIツールの勢力図
shomaekawa
1
450
2025-06-11-ai_belgium
sofievl
1
250
SpatialRDDパッケージによる空間回帰不連続デザイン
saltcooky12
0
190
コンピュータビジョンによるロボットの視覚と判断:宇宙空間での適応と課題
hf149
1
590
ド文系だった私が、 KaggleのNCAAコンペでソロ金取れるまで
wakamatsu_takumu
2
2.2k
MATSUO Makiko
genomethica
0
120
機械学習 - ニューラルネットワーク入門
trycycle
PRO
0
970
イロレーティングを活用した関東大学サッカーの定量的実力評価 / A quantitative performance evaluation of Kanto University Football Association using Elo rating
konakalab
0
230
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Unsuck your backbone
ammeep
672
58k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The SEO identity crisis: Don't let AI make you average
varn
0
430
Paper Plane (Part 1)
katiecoart
PRO
0
6.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
First, design no harm
axbom
PRO
2
1.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
Dijkstra’s Algorithm Do Dijkstra’s on this graph, starting from A.
Best distance to A: 0 All other nodes: 1 (so far, unreachable) 52 / 71
Dijkstra’s Algorithm A is done. Choose shortest total distance (B
at distance 3) From B, find a better path to C (3+3=6) Path to A is worse (3+3, worse than 0) 53 / 71
Dijkstra’s Algorithm B is done. Choose shortest total distance (F
at distance 4) Better path to E (4+5=9) Worse paths to A (4+4 vs 0) and D (4+2=6 vs 5) 54 / 71
Dijkstra’s Algorithm F is done. Choose shortest total distance (D
at distance 5) Better path for E (5+3 = 8 vs 9) Worse paths for other nodes 55 / 71
Dijkstra’s Algorithm D is done. Choose shortest total distance (C
at distance 6) Better path to E (6+1 = 7 vs 8) Worse paths to B and D 56 / 71
Dijkstra’s Algorithm C is done. Choose shortest total distance (E
at distance 7) Worse paths everywhere 57 / 71
Dijkstra’s Algorithm All nodes are done. Note we could have
recorded paths in table Also could stop early if we only wanted a single destination. 58 / 71