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
120
0
Share
Dijkstra’s Algorithm
Chen
November 17, 2022
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
63
defense
tiffany_04192
0
79
Floyd-Warshall
tiffany_04192
0
97
Topological sort DFS
tiffany_04192
0
95
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
120
Cache behavior
tiffany_04192
0
90
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
Kaggle: NeurIPS - Open Polymer Prediction 2025 コンペ 反省会
calpis10000
0
580
東北地方における過去20年間の降水量の変化
naokimuroki
1
220
機械学習 - SVM
trycycle
PRO
1
1.1k
Understanding CVP Waveforms: Interpretation and Clinical Implications in Anesthesiology
taka88
0
540
あなたに水耕栽培を愛していないとは言わせない
mutsumix
1
330
AIに仕事を奪われる 最初の医師たちへ
ikora128
0
1.1k
SpatialRDDパッケージによる空間回帰不連続デザイン
saltcooky12
0
240
データベース02: データベースの概念
trycycle
PRO
2
1.1k
Van Dare naar Durf
voginip
0
190
白金鉱業Vol.21【初学者向け発表枠】身近な例から学ぶ数理最適化の基礎 / Learning the Basics of Mathematical Optimization Through Everyday Examples
brainpadpr
1
740
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
PRO
0
1.4k
会社でMLモデルを作るとは @電気通信大学 データアントレプレナーフェロープログラム
yuto16
1
700
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Become a Pro
speakerdeck
PRO
31
6k
Un-Boring Meetings
codingconduct
0
300
Deep Space Network (abreviated)
tonyrice
0
160
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
Designing for humans not robots
tammielis
254
26k
The Cult of Friendly URLs
andyhume
79
6.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
560
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
260
Tell your own story through comics
letsgokoyo
1
930
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
130
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