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
99
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
63
defense
tiffany_04192
0
83
Dijkstra’s Algorithm
tiffany_04192
0
120
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
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
520
データベース10: 拡張実体関連モデル
trycycle
PRO
0
1.1k
生成AI・プレプリント時代における 研究成果公開の再設計 ― トップカンファレンス文化はどこへ向かうのか / Redesigning the Dissemination of Research Outputs in the Age of Generative AI and Preprints — Where Is the Top-Conference Culture Heading?
ykiyota
0
27k
How we plan to publish 1,000 bio-logging datasets to GBIF and OBIS
peterdesmet
0
110
Understanding CVP Waveforms: Interpretation and Clinical Implications in Anesthesiology
taka88
0
590
あなたに水耕栽培を愛していないとは言わせない
mutsumix
1
340
検索と推論タスクに関する論文の紹介
ynakano
1
230
データベース03: 関係データモデル
trycycle
PRO
1
560
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.2k
(CVPR2026) Back to Basics: Let Denoising Generative Models Denoise
shumpei777
0
150
Testing the Longevity Bottleneck Hypothesis
chinson03
0
330
Amusing Abliteration
ianozsvald
1
210
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
970
Context Engineering - Making Every Token Count
addyosmani
9
970
A Modern Web Designer's Workflow
chriscoyier
698
190k
Google's AI Overviews - The New Search
badams
0
1k
Why Our Code Smells
bkeepers
PRO
340
58k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Between Models and Reality
mayunak
4
340
The untapped power of vector embeddings
frankvandijk
2
1.8k
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