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
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
知能とはなにかーヒトとAIのあいだー
tagtag
PRO
0
180
Vibecoding for Product Managers
ibknadedeji
0
150
DMMにおけるABテスト検証設計の工夫
xc6da
1
1.6k
先端因果推論特別研究チームの研究構想と 人間とAIが協働する自律因果探索の展望
sshimizu2006
3
840
「遂行理論の未来」(松島斉教授最終講義記念セッションの発表資料)
shunyanoda
0
830
Amusing Abliteration
ianozsvald
0
150
次代のデータサイエンティストへ~スキルチェックリスト、タスクリスト更新~
datascientistsociety
PRO
3
33k
やるべきときにMLをやる AIエージェント開発
fufufukakaka
2
1.3k
コンピュータビジョンによるロボットの視覚と判断:宇宙空間での適応と課題
hf149
1
590
Distributional Regression
tackyas
0
440
Accelerating operator Sinkhorn iteration with overrelaxation
tasusu
0
250
baseballrによるMLBデータの抽出と階層ベイズモデルによる打率の推定 / TokyoR118
dropout009
2
880
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
97
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
170
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
Evolving SEO for Evolving Search Engines
ryanjones
0
170
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Tell your own story through comics
letsgokoyo
1
880
Everyday Curiosity
cassininazir
0
180
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
210
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Optimizing for Happiness
mojombo
378
71k
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