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
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
87
Dijkstra’s Algorithm
tiffany_04192
0
130
Topological sort DFS
tiffany_04192
0
100
BFS
tiffany_04192
0
140
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
97
Cache miss paper
tiffany_04192
0
120
Greedy
tiffany_04192
0
110
Other Decks in Science
See All in Science
知能とはなにか -ヒトとAIのあいだ-
tagtag
PRO
0
120
JSAI2026企画セッションKS-14 インタビュー集『⼈⼯知能と哲学と四つの問い』が提起する⼈⼯知能のこれからの課題 趣旨説明 / JSAI2026 Special Session: A Collection of Interviews, “Artificial Intelligence, Philosophy, and Four Questions”
ykiyota
0
440
機械学習 - 授業概要
trycycle
PRO
0
610
AkarengaLT vol.41
hashimoto_kei
1
170
Inside the Mind of an LLM
baggiponte
0
240
データベース02: データベースの概念
trycycle
PRO
2
1.4k
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
390
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
2k
Testing the Longevity Bottleneck Hypothesis
chinson03
0
450
Does the Efficient Compute Frontier Represent New Physics?
drqz
0
110
[NLP2026 参加報告会] AI for Science まとめ / NLP2026
lychee1223
0
2k
AIを用いた PID制御で部屋 の温度制御をしてみた
nearme_tech
PRO
0
250
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
240
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
550
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
230
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
570
Paper Plane
katiecoart
PRO
2
53k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Paper Plane (Part 1)
katiecoart
PRO
1
10k
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