Skip to content

Commit 06625c2

Browse files
authored
Update src/graph/fixed_length_paths.md
1 parent 9c49a33 commit 06625c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph/fixed_length_paths.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Then the following formula computes each entry of $L_{k+1}$:
6363
$$L_{k+1}[i][j] = \min_{p = 1 \ldots n} \left(L_k[i][p] + G[p][j]\right)$$
6464

6565
When looking closer at this formula, we can draw an analogy with the matrix multiplication:
66-
in fact the matrix $L_k$ is multiplied by the matrix $G$, the only difference is that instead in the multiplication operation we take the minimum of the sum.
66+
in fact the matrix $L_k$ is multiplied by the matrix $G$, the only difference is that instead in the multiplication operation we take the minimum instead of the sum, and the sum instead of the multiplication as the inner operation.
6767

6868
$$L_{k+1} = L_k \odot G,$$
6969

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy