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
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
データマイニング - グラフ埋め込み入門
trycycle
PRO
1
160
タンパク質間相互作⽤を利⽤した⼈⼯知能による新しい薬剤遺伝⼦-疾患相互作⽤の同定
tagtag
PRO
0
140
安心・効率的な医療現場の実現へ ~オンプレAI & ノーコードワークフローで進める業務改革~
siyoo
0
450
Collective Predictive Coding as a Unified Theory for the Socio-Cognitive Human Minds
tanichu
0
160
検索と推論タスクに関する論文の紹介
ynakano
1
140
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
660
Accelerating operator Sinkhorn iteration with overrelaxation
tasusu
0
190
データマイニング - ノードの中心性
trycycle
PRO
0
330
Distributional Regression
tackyas
0
340
AIに仕事を奪われる 最初の医師たちへ
ikora128
0
1k
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
32k
機械学習 - ニューラルネットワーク入門
trycycle
PRO
0
940
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Documentation Writing (for coders)
carmenintech
77
5.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Limits of Empathy - UXLibs8
cassininazir
1
210
The Language of Interfaces
destraynor
162
26k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
75
So, you think you're a good person
axbom
PRO
2
1.9k
Done Done
chrislema
186
16k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Accessibility Awareness
sabderemane
0
51
Balancing Empowerment & Direction
lara
5
890
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
92
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