Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/algorithm-ford-fulkerson.pseudocode @ 108:6cebd3e7bc97
Also allow \REM within a \TEXT{}
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 04 May 2026 17:36:13 +0200 |
| parents | 1c1985532139 |
| children | 9bfd87544902 |
line wrap: on
line diff
--- a/docs/algorithm-ford-fulkerson.pseudocode Mon May 04 16:57:17 2026 +0200 +++ b/docs/algorithm-ford-fulkerson.pseudocode Mon May 04 17:36:13 2026 +0200 @@ -12,8 +12,8 @@ 2. For each edge \expr{(u, v) ∈ p} - 1. \expr{f(u, v) <- f(u, v) + c_f(p)} \expr{\rem Send flow along the path + 1. \expr{f(u, v) <- f(u, v) + c_f(p)} \rem Send flow along the path -} 2. \expr{f(v, u) <- f(v, u) - c_f(p)} \expr{\rem The flow might be "returned" later -}} + 2. \expr{f(v, u) <- f(v, u) - c_f(p)} \rem The flow might be "returned" later +} \END ALGORITHM {Ford–Fulkerson}
