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
0
91
Floyd-Warshall
Chen
November 17, 2022
Tweet
Share
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
61
defense
tiffany_04192
0
74
Dijkstra’s Algorithm
tiffany_04192
0
120
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
baseballrによるMLBデータの抽出と階層ベイズモデルによる打率の推定 / TokyoR118
dropout009
2
870
DMMにおけるABテスト検証設計の工夫
xc6da
1
1.6k
イロレーティングを活用した関東大学サッカーの定量的実力評価 / A quantitative performance evaluation of Kanto University Football Association using Elo rating
konakalab
0
220
機械学習 - SVM
trycycle
PRO
1
1k
データマイニング - グラフデータと経路
trycycle
PRO
2
460
論文紹介 音源分離:SCNET SPARSE COMPRESSION NETWORK FOR MUSIC SOURCE SEPARATION
kenmatsu4
0
570
20251212_LT忘年会_データサイエンス枠_新川.pdf
shinpsan
0
260
People who frequently use ChatGPT for writing tasks are accurate and robust detectors of AI-generated text
rudorudo11
0
210
SpatialRDDパッケージによる空間回帰不連続デザイン
saltcooky12
0
190
Amusing Abliteration
ianozsvald
0
140
Lean4による汎化誤差評価の形式化
milano0017
1
460
データマイニング - グラフ構造の諸指標
trycycle
PRO
0
280
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
150
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
770
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
180
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
Exploring anti-patterns in Rails
aemeredith
2
290
Thoughts on Productivity
jonyablonski
75
5.1k
Building Adaptive Systems
keathley
44
3k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
Believing is Seeing
oripsolob
1
89
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