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
Floyd-Warshall
Search
Chen
November 17, 2022
Science
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Floyd-Warshall
Chen
November 17, 2022
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
66
defense
tiffany_04192
0
84
Dijkstra’s Algorithm
tiffany_04192
0
130
Topological sort DFS
tiffany_04192
0
100
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
95
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
明治薬科大学講義_ビッグデータ解析を支えるデータベース技術とクラウドコンピューティング
ktatsuya
1
150
因果推論と機械学習
sshimizu2006
1
1.3k
Tensor Factorization Meets Deformed Information Geometry: Convex Relaxation under Deformed Algebra
gkazunii
0
120
Endel Tulvingとエピソード記憶
rmaruy
0
170
20260722【JAWS-UG東京 ランチタイムLT会 #37④】AWS Well-Architectedフレームワークに沿った回答をするAIエージェントを作ってみた
nozakijcom
1
120
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.6k
生成AIが科学とRAにもたらしていること:メタサイエンスの視点から
rmaruy
0
120
Van Dare naar Durf
voginip
0
270
Snowflake HCLS Meet Upヘルスケアユーザー会紹介
ktatsuya
0
120
データベース12: 正規化(2/2) - データ従属性に基づく正規化
trycycle
PRO
0
1.7k
Inside the Mind of an LLM
baggiponte
0
220
Bear-safety-running
akirun_run
0
190
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
490
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Un-Boring Meetings
codingconduct
0
380
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Exploring anti-patterns in Rails
aemeredith
3
460
Chasing Engaging Ingredients in Design
codingconduct
0
270
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Art, The Web, and Tiny UX
lynnandtonic
304
22k
How GitHub (no longer) Works
holman
316
150k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Transcript
Floyd-Warshall: Dynamic Programming Floyd-Warshall computes all pairs, but let us
focus on 5 to 6. 62 / 71
Floyd-Warshall: Dynamic Programming We start by considering only start(5) and
dest(6) when k is 0. 63 / 71
Floyd-Warshall: Dynamic Programming Then we also consider node 1 when
k is 1. 64 / 71
Floyd-Warshall: Dynamic Programming And node 2 when k is 2.
65 / 71
Floyd-Warshall: Dynamic Programming And node 3 when k is 3.....
66 / 71
Floyd-Warshall: Dynamic Programming And node 4 when k is 4....
And so on. Note that I have just been filling in the answers for recursive calls But we actually need to compute those. 67 / 71
Floyd-Warshall: Dynamic Programming Hmm it looks like some of those
recursive calls will recompute the same thing... 68 / 71