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
Chen
November 17, 2022
Science
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
83
Floyd-Warshall
tiffany_04192
0
99
Topological sort DFS
tiffany_04192
0
97
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
120
Cache behavior
tiffany_04192
0
92
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
フィードフォワードニューラルネットワークを用いた記号入出力制御系に対する制御器設計 / Controller Design for Augmented Systems with Symbolic Inputs and Outputs Using Feedforward Neural Network
konakalab
0
140
AkarengaLT vol.40
hashimoto_kei
0
110
MATSUO Makiko
genomethica
0
150
Kritische evaluatie van GenAI-output voor literatuuronderzoek
voginip
0
170
見上公一.pdf
genomethica
0
150
防災デジタル分野での官民共創の取り組み (1)防災DX官民共創をどう進めるか
ditccsugii
0
660
1. CPC理論の展開と集合的知能モデル(JSAI2026 KS-27 集合的予測符号化と新たな知性の時代)
hayashiyus884
1
200
AIPシンポジウム 2025年度 成果報告会 「因果推論チーム」
sshimizu2006
3
530
(2025) Balade en cyclotomie
mansuy
0
630
TypeScript で WebAssembly を用いた 型安全なプラグイン設計
nagano
2
530
不動産業界における業界特化のデータ整備とAI活用 ─Vertical DataとVertical AI─
estie
1
640
Wet Active Matter
rajeshrinet
0
110
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Claude Code のすすめ
schroneko
67
230k
WCS-LA-2024
lcolladotor
0
650
A Soul's Torment
seathinner
6
3k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
630
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
71
40k
Why Our Code Smells
bkeepers
PRO
340
58k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Code Reviewing Like a Champion
maltzj
528
40k
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