Abstract
Let A and B be two sets of points in \(\mathbb {R}^d\), where \(|A|=|B|=n\) and the distance between them is defined by some bipartite measure \({{\,\mathrm{dist}\,}}(A, B)\). We study several problems in which the goal is to translate the set B, so that \({{\,\mathrm{dist}\,}}(A,B)\) is minimized. The main measures that we consider are (i) the diameter in two and higher dimensions, that is \({{\,\mathrm{diam}\,}}(A,B)=\max {\{d(a,b)\mid a\in A,\,b \in B\}}\), where d(a, b) is the Euclidean distance between a and b, (ii) the uniformity in the plane, that is \({{\,\mathrm{uni}\,}}(A,B) = {{\,\mathrm{diam}\,}}(A,B)-d(A,B)\), where \(d(A,B)=\min {\{d(a,b)\mid a\in A,\,b\in B\}}\), and (iii) the union width in two and three dimensions, that is \({{\,\mathrm{union\_width}\,}}(A,B) = {{\,\mathrm{width}\,}}(A \cup B)\). For each of these measures, we present efficient algorithms for finding a translation of B that minimizes the distance: For diameter we present near-linear-time algorithms in \(\mathbb {R}^2\) and \(\mathbb {R}^3\) and a subquadratic algorithm in \(\mathbb {R}^d\) for any fixed \(d\ge 4\), for uniformity we describe a roughly \(O(n^{9/4})\)-time algorithm in the plane, and for union width we offer a near-linear-time algorithm in \(\mathbb {R}^2\) and a quadratic-time one in \(\mathbb {R}^3\).
Similar content being viewed by others
Notes
This class of problems naturally extends to other types of transformations, such as rotations, rigid motions, homothethies, similarity transformations, etc. In this paper, we confine ourselves to translations.
\({\tilde{O}}(\,{\cdot }\,)\) notation is used to hide polylogarithmic factors.
References
Agarwal, P.K., Aronov, B., van Kreveld, M., Löffler, M., Silveira, R.I.: Computing correlation between piecewise-linear functions. SIAM J. Comput. 42(5), 1867–1887 (2013)
Agarwal, P.K., Har-Peled, S., Sharir, M., Wang, Y.: Hausdorff distance under translation for points and balls. ACM Trans. Algorithms 6(4), # 71 (2010)
Agarwal, P.K., Sharir, M.: Efficient randomized algorithms for some geometric optimization problems. Discrete Comput. Geom. 16(4), 317–337 (1996)
Agarwal, P.K., Sharir, M., Toledo, S.: Applications of parametric searching in geometric optimization. J. Algorithms 17(3), 292–318 (1994)
Ahn, H.-K., Brass, P., Shin, C.-S.: Maximum overlap and minimum convex hull of two convex polyhedra under translations. Comput. Geom. 40(2), 171–177 (2008)
Alt, H., Mehlhorn, K., Wagener, H., Welzl, E.: Congruence, similarity, and symmetries of geometric objects. Discrete Comput. Geom. 3(3), 237–256 (1988)
Aronov, B., Filtser, O., Katz, M.J., Sheikhan, K.: Bipartite diameter and other measures under translation. In: 36th International Symposium on Theoretical Aspects of Computer Science (Berlin 2019). Leibniz International Proceedings in Informatics, vol. 126, #8. Leibniz-Zentrum für Informatik, Wadern (2019)
Ben-Avraham, R., Henze, M., Jaume, R., Keszegh, B., Raz, O.E., Sharir, M., Tubis, I.: Minimum partial-matching and Hausdorff RMS-distance under translation: combinatorics and algorithms. In: 22nd European Symposium on Algorithms (Wrocław 2014). Lecture Notes in Computer Science, vol. 8737, pp. 100–111. Springer, Heidelberg (2014)
de Berg, M., Cheong, O., van Kreveld, M., Overmars, M.: Computational Geometry: Algorithms and Applications. Springer, Berlin (2008)
Bishnu, A., Das, S., Nandy, S.C., Bhattacharya, B.B.: Simple algorithms for partial point set pattern matching under rigid motion. Pattern Recogn. 39(9), 1662–1671 (2006)
Brown, K.Q.: Geometric Transforms for Fast Geometric Algorithms. PhD thesis, Carnegie-Mellon University (1980)
Chan, T.M.: An optimal randomized algorithm for maximum Tukey depth. In: 15th Annual ACM-SIAM Symposium on Discrete Algorithms (New Orleans 2004), pp. 430–436. ACM, New York (2004)
Chazelle, B., Edelsbrunner, H., Guibas, L.J., Sharir, M.: Algorithms for bichromatic line segment problems and polyhedral terrains. Algorithmica 11(2), 116–132 (1994)
Clarkson, K.L.: Las Vegas algorithms for linear and integer programming when the dimension is small. J. ACM 42(2), 488–499 (1995)
Clarkson, K.L., Shor, P.W.: Applications of random sampling in computational geometry. II. Discrete Comput. Geom. 4(5), 387–421 (1989)
Efrat, A., Itai, A., Katz, M.J.: Geometry helps in bottleneck matching and related problems. Algorithmica 31(1), 1–28 (2001)
Erickson, J.: New lower bounds for halfspace emptiness. In: 37th Annual Symposium on Foundations of Computer Science (Burlington 1996), pp. 472–481. IEEE Computer Society Press, Los Alamitos (1996)
Guibas, L.J., Seidel, R.: Computing convolutions by reciprocal search. Discrete Comput. Geom. 2(2), 175–193 (1987)
Heffernan, P.J., Schirra, S.: Approximate decision algorithms for point set congruence. Comput. Geom. 4(3), 137–156 (1994)
Houle, M.E., Toussaint, G.T.: Computing the width of a set. IEEE Trans. Pattern Anal. Mach. Intell. 10(5), 761–765 (1988)
Huttenlocher, D.P., Kedem, K., Sharir, M.: The upper envelope of Voronoĭ surfaces and its applications. Discrete Comput. Geom. 9(3), 267–291 (1993)
Indyk, P., Venkatasubramanian, S.: Approximate congruence in nearly linear time. Comput. Geom. 24(2), 115–128 (2003)
Megiddo, N.: Linear-time algorithms for linear programming in $\mathbf{R}^3$ and related problems. SIAM J. Comput. 12(4), 759–776 (1983)
Ramos, E.A.: Deterministic algorithms for 3-D diameter and some 2-D lower envelopes. In: 16th Annual Symposium on Computational Geometry (Hong Kong 2000), pp. 290–299. ACM, New York (2000)
Shamos, M.I.: Computational Geometry. PhD thesis, Yale University (1978)
Sharir, M., Welzl, E.: A combinatorial bound for linear programming and related problems. In: 9th Annual Symposium on Theoretical Aspects of Computer Science (Cachan 1992). Lecture Notes in Computer Science, vol. 577, pp. 569–579. Springer, Berlin (1992)
Welzl, E.: Smallest enclosing disks (balls and ellipsoids). In: New Results and New Trends in Computer Science (Graz 1991). Lecture Notes in Computer Science, vol. 555, pp. 359–370. Springer, Berlin (1991)
Acknowledgements
We would like to thank several people whose comments and suggestions significantly improved this version of the paper: Pankaj K. Agarwal, Stefan Langerman, and Emo Welzl.
Author information
Authors and Affiliations
Corresponding author
Additional information
Editor in Charge: Kenneth Clarkson
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
An earlier version of this paper was presented at STACS’19 [7]
Work on this paper by Boris Aronov was supported by NSF Grants CCF-11-17336, CCF-12-18791, and CCF-15-40656, and by Grant 2014/170 from the US-Israel Binational Science Foundation.
Work on this paper by Omrit Filtser was supported by the Eric and Wendy Schmidt Fund for Strategic Innovation, by the Council for Higher Education of Israel, and by Ben-Gurion University of the Negev.
Work on this paper by Matthew Katz was supported by Grant 1884/16 from the Israel Science Foundation, and by Grant 2014/170 from the US-Israel Binational Science Foundation.
Work on this paper by Khadijeh Sheikhan was performed while she was a graduate student at the Tandon School of Engineering, NYU. Her work was supported by NSF Grant CCF-12-18791.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Aronov, B., Filtser, O., Katz, M.J. et al. Bipartite Diameter and Other Measures Under Translation. Discrete Comput Geom 68, 647–663 (2022). https://doi.org/10.1007/s00454-022-00433-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00454-022-00433-5