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
0
89
Floyd-Warshall
Chen
November 17, 2022
Tweet
Share
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
60
defense
tiffany_04192
0
73
Dijkstra’s Algorithm
tiffany_04192
0
120
Topological sort DFS
tiffany_04192
0
92
BFS
tiffany_04192
0
130
DFS
tiffany_04192
0
120
Cache behavior
tiffany_04192
0
84
Cache miss paper
tiffany_04192
0
110
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
880
KH Coderチュートリアル(スライド版)
koichih
1
58k
データマイニング - ノードの中心性
trycycle
PRO
0
330
知能とはなにかーヒトとAIのあいだー
tagtag
PRO
0
140
Performance Evaluation and Ranking of Drivers in Multiple Motorsports Using Massey’s Method
konakalab
0
140
20251212_LT忘年会_データサイエンス枠_新川.pdf
shinpsan
0
230
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.2k
データベース06: SQL (3/3) 副問い合わせ
trycycle
PRO
1
720
Distributional Regression
tackyas
0
340
Algorithmic Aspects of Quiver Representations
tasusu
0
190
イロレーティングを活用した関東大学サッカーの定量的実力評価 / A quantitative performance evaluation of Kanto University Football Association using Elo rating
konakalab
0
190
【RSJ2025】PAMIQ Core: リアルタイム継続学習のための⾮同期推論・学習フレームワーク
gesonanko
0
640
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
Evolving SEO for Evolving Search Engines
ryanjones
0
120
HDC tutorial
michielstock
1
380
What does AI have to do with Human Rights?
axbom
PRO
0
2k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
66
How to make the Groovebox
asonas
2
1.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
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