Abstract

In a rectangular grid, given two sets of nodes, S (sources) and T (sinks), of size N2 each, the disjoint paths (DP) problem is to connect as many nodes in S to the nodes in T using a set of “disjoint” paths. (Both edge-disjoint and vertex-disjoint cases are considered in this paper.) Note that in this DP problem, a node in S can be connected to any node in T. Although in general the sizes of S and T do not have to be the same, algorithms presented in this paper can also find the maximum number of disjoint paths pairing nodes in S and T. We use the network flow approach to solve this DP problem. By exploiting all the properties of the network, such as planarity and regularity of a grid, integral flow, and unit capacity source/sink/flow, we can optimally compress the size of the working grid (to be defined) from O(N2) to O(N1.5) and solve the problem in O(N2.5) time for both the edge-disjoint and vertex-disjoint cases, an improvement over the straightforward approach which takes O(N3) time.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call