Abstract

AbstractWe investigate the two‐median problem on a mesh with M columns and N rows (M ≥ N), under the Manhattan (L1) metric. We derive exact algorithms with respect to m, n, and r, the number of columns, rows, and vertices, respectively, that contain requests. Specifically, we give an O(mn2 log m) time, O(r) space algorithm for general (nonuniform) meshes (assuming m ≥ n). For uniform meshes, we give two algorithms both using O(MN) space. One is an O(MN2) time algorithm, while the other is an algorithm running in O(MN log N) time with high probability and in O(MN2) time in the worst case assuming the weights are independent and identically distributed random variables satisfying certain natural conditions. These improve upon the previously best‐known algorithm that runs in O(mn2r) time. © 2007 Wiley Periodicals, Inc. NETWORKS, Vol. 49(3), 226–233 2007

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

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.