Next: Work out
Up: STRATEGY DYNAMIC PROGRAMMING
Previous: Recursive Formula and Time
M,Factor: Matrix
- for
to n do
/* main diagonal*/
- for diagonal
to n-1 do
- for
to n-diagonal do
-
diagonal
-
- Factor[i,j]=k that gave the minimum value for
M[i,j].
- endfor
- endfor
Sushil Prasad
Thu May 13 13:06:05 EDT 1999