Several dynamic programming algorithms are considered which can be efficiently implemented using parallel networks with reconfigurable buses. The bit model of general reconfigurable meshes with directed links, common write, and unit-time delay for broadcasting is assumed. Given two sequences of length m and n, respectively, their longest common subsequence can be found in constant time by an O(mh)/spl times/O(nh) directed reconfigurable mesh, where h=min{m, n}+1. Moreover, given an n-node directed graph G=(V, E) with (possibly negative) integer weights on its arcs, the shortest distances from a source node /spl nu/ /spl epsiv/ V to all other nodes can be found in constant time by an O(n/sup 2/w) x O(n/sup 2/w) directed reconfigurable mesh, where w is the maximum are weight.
['Alan A. Bertossi', 'Alessandro Mei']
Constant time dynamic programming on directed reconfigurable networks