diff options
Diffstat (limited to 'macros/latex/contrib/pseudo/doc/fig/readmecode.tex')
-rw-r--r-- | macros/latex/contrib/pseudo/doc/fig/readmecode.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/latex/contrib/pseudo/doc/fig/readmecode.tex b/macros/latex/contrib/pseudo/doc/fig/readmecode.tex new file mode 100644 index 0000000000..9ad11a0aa9 --- /dev/null +++ b/macros/latex/contrib/pseudo/doc/fig/readmecode.tex @@ -0,0 +1,15 @@ +\begin{pseudo}* + + \hd{Backward}(V, E, v, i) \\ + + $v.\id{label} = i$ \\ + + for $(u,v)\in E$ \\+ + if $0 < v.\id{label} < i$ \\+ + \pr{Backward}(V, E, u, i) \\-- + + for $(u,v)\in E$ \\+ + if $u.\id{label} \== 0$ \\+ + \pr{Backward}(V, E, u, i+1) + +\end{pseudo} |