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
64
defense
tiffany_04192
0
83
Floyd-Warshall
tiffany_04192
0
100
Topological sort DFS
tiffany_04192
0
98
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
93
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.4k
あなたに水耕栽培を愛していないとは言わせない
mutsumix
1
360
KISHIMOTO Atsuo
genomethica
0
170
MATSUO Makiko
genomethica
0
170
CVPR2026_VGGTとその仲間たち
mickey_0226
0
970
機械学習 - DBSCAN
trycycle
PRO
0
1.9k
共生概念の整理と AIアライメントの構想
hiroakihamada
0
230
チュートリアル:世界モデル
hf149
0
1.9k
因果推論と機械学習
sshimizu2006
1
1.2k
HDC tutorial
michielstock
2
740
見上公一.pdf
genomethica
0
170
Non-Gaussian, nonlinear causal discovery with hidden variables and application
sshimizu2006
0
150
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
410
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Making Projects Easy
brettharned
120
6.7k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
290
Marketing to machines
jonoalderson
1
5.6k
Crafting Experiences
bethany
1
210
RailsConf 2023
tenderlove
30
1.5k
Code Reviewing Like a Champion
maltzj
528
40k
Exploring anti-patterns in Rails
aemeredith
3
440
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
410
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Speed Design
sergeychernyshev
33
1.9k
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