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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Chen
November 17, 2022
Science
97
0
Share
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
79
Dijkstra’s Algorithm
tiffany_04192
0
120
Topological sort DFS
tiffany_04192
0
95
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
120
Cache behavior
tiffany_04192
0
90
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
知能とはなにかーヒトとAIのあいだー
tagtag
PRO
0
210
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
1.1k
生成AIの現状と展望
tagtag
PRO
0
130
プロジェクト「Azayaka」のSARの数式とジオメトリ
syuchimu
0
300
NDCG is NOT All I Need
statditto
2
3.1k
データベース06: SQL (3/3) 副問い合わせ
trycycle
PRO
1
900
【RSJ2025】PAMIQ Core: リアルタイム継続学習のための⾮同期推論・学習フレームワーク
gesonanko
0
870
データベース03: 関係データモデル
trycycle
PRO
1
520
機械学習 - 授業概要
trycycle
PRO
0
490
人生を変えた一冊「独学大全」のはなし / Self-study ENCYCLOPEDIA: The Book Which Change My Life #独学大全 #EM推し本
expajp
0
160
SHINOMIYA Nariyoshi
genomethica
0
130
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
PRO
0
1.4k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
Color Theory Basics | Prateek | Gurzu
gurzu
0
320
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Thoughts on Productivity
jonyablonski
76
5.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Test your architecture with Archunit
thirion
1
2.3k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
290
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
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