Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Dijkstra’s Algorithm
Search
Chen
November 17, 2022
Science
130
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
68
defense
tiffany_04192
0
91
Floyd-Warshall
tiffany_04192
0
100
Topological sort DFS
tiffany_04192
0
100
BFS
tiffany_04192
0
140
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
97
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
知能とはなにか -ヒトとAIのあいだ-
tagtag
PRO
0
230
データベース12: 正規化(2/2) - データ従属性に基づく正規化
trycycle
PRO
0
1.8k
ゲームと人工知能
miyayou
0
240
Webinaire : Valorisez les résultats de vos projets européens avec EU-FarmBook
institudelelevage
PRO
0
110
Build your own LLM, Live, with MicroGPT
ianozsvald
0
150
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
1.3k
データベース10: 拡張実体関連モデル
trycycle
PRO
0
1.6k
データベース15: ビッグデータ時代のデータベース
trycycle
PRO
1
600
Van Dare naar Durf
voginip
0
310
presen_司法書士学員会.pdf
tagtag
PRO
1
110
機械学習 - K近傍法 & 機械学習のお作法
trycycle
PRO
1
1.7k
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
960
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
450
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Ruling the World: When Life Gets Gamed
codingconduct
0
380
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
The Language of Interfaces
destraynor
162
27k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
Speed Design
sergeychernyshev
33
2.1k
30 Presentation Tips
portentint
PRO
1
410
Designing for Timeless Needs
cassininazir
1
510
Site-Speed That Sticks
csswizardry
13
1.5k
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