Skip to main content
Log in

Space-Aware Reconfiguration

  • Published:
Discrete & Computational Geometry Aims and scope Submit manuscript

Abstract

We consider the problem of reconfiguring a set of physical objects into a desired target configuration, a typical (sub)task in robotics and automation, arising in product assembly, packaging, stocking store shelves, and more. In this paper we address a variant, which we call space-aware reconfiguration, where the goal is to minimize the physical space needed for the reconfiguration, while obeying constraints on the allowable collision-free motions of the objects. Since for given start and target configurations, reconfiguration may be impossible, we translate the entire target configuration rigidly into a location that admits a valid sequence of moves, where each object moves in turn just once, along a straight line, from its starting to its target location, so that the overall physical space required by the start, all intermediate, and target configurations for all the objects is minimized. We investigate two variants of space-aware reconfiguration for the often examined setting of n unit discs in the plane, depending on whether the discs are distinguishable (labeled) or indistinguishable (unlabeled). For the labeled case, we propose a representation of size \(O(n^4)\) of the space of all feasible initial rigid translations, and use it to find, in \(O(n^6)\) time, a shortest valid translation, or one that minimizes the enclosing disc or axis-aligned rectangle of both the start and target configurations. For the significantly harder unlabeled case, we show that for almost every direction, there exists a translation in this direction that makes the problem feasible. We use this to devise heuristic solutions, where we optimize the translation under stricter notions of feasibility. We present an implementation of such a heuristic, which solves unlabeled instances with hundreds of discs in seconds.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Notes

  1. The translations from T to \(T+\vec {v}\) do not count as moves. We often refer to it as the initial translation.

  2. The only exceptional directions are those of common inner tangents of pairs of tangent discs. If no tangency between the discs is allowed, all directions admit a valid translation.

  3. Recall that \(A=(A^S,A^T)\) and \(B=(B^S,B^T)\); thus each of A and B is a pair of start and target placements of a disc.

  4. Here \(\lambda _s(m)\) denotes the maximum length of a Davenport–Schinzel sequence of order s on m symbols; see [28] for details.

  5. As already mentioned, although we assume general position, circular arcs of vippodromes may still overlap (see Fig. 5). Notice, however, that the overlapping arcs bound vippodromes that induce the same constraint on the itinerary and hence crossing the overlapping arcs still incurs insertion or deletion of a single edge to the graph.

  6. In general, \(G_f\) can have exponentially many topological orders, each of which yields a valid itinerary.

  7. Recall that we assume that at translation \(\vec {v} = \vec {0}\) the centers of mass of S and \(T +\vec {v} = T\), or the centers of their smallest enclosing discs, coincide. This makes the shortest valid translation a plausible criterion for space-aware optimization.

  8. This is indeed an equivalent formulation to the one given earlier: The smallest enclosing disc of \(D(S)\cup D(T+\vec {v})\) has the same center as the disc that we find, and its radius is larger by 1. In contrast to other sections in the paper, here we consider the SED to be a closed disc.

  9. Unless \(\gamma \) is \({\partial }\mathcal {V}^{(1)}_{AB}\) or \({\partial }\mathcal {V}^{(2)}_{AB}\) such that \(A^S = s_0\) and \(B^T = t_0\). In this exceptional case, the entire circular subarc of \(\gamma \) is a continuum of minima. This case is easily handled by a slight modification to the algorithm, which we omit here.

  10. Recall that the optimization procedures in Sect. 3 require a preprocessing stage that computes Q in \(O(n^6)\) time. This cost is only a consequence of the (expensive) need to test each face of \(\mathcal {A}(\mathcal {V}^{\partial })\) for acyclicity, which is no longer needed under our new notion of validity. This is why constructing \(\widetilde{Q}\) is faster. Note also that restricting the analysis to the bad vippodromes cleans the presentation, but is not the source of the above improvement, as the number of bad vippodromes is still half the number of all vippodromes.

  11. The reason why the index in the above bound is \(s+1\) is that each of the domains of the partial functions \(f_t(\vec {v})\), \(g_t(\vec {v})\) is an interval with at least one endpoint coinciding with an endpoint of e; see [28] for details.

  12. Similar techniques can be applied to the variant of optimizing the area of the axis-aligned bounding rectangle. To keep the presentation somewhat shorter, we do not include this case in this section.

  13. The random choice of each configuration is modified so as to ensure that they are valid—no two points are at distance smaller than 2. Random choices that violate this property are discarded and replaced by other random choices.

References

  1. Abellanas, M., Bereg, S., Hurtado, F., García Olaverri, A., Rappaport, D., Tejel, J.: Moving coins. Comput. Geom. 34(1), 35–48 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  2. Balaban, I.J.: An optimal algorithm for finding segments intersections. In: 11th Annual Symposium on Computational Geometry (Vancouver 1995), pp. 211–219. ACM, New York (1995)

  3. Banik, A., Bhattacharya, B.B., Das, S.: Minimum enclosing circle of a set of fixed points and a mobile point. Comput. Geom. 47(9), 891–898 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bereg, S., Dumitrescu, A.: The lifting model for reconfiguration. Discrete Comput. Geom. 35(4), 653–669 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bereg, S., Dumitrescu, A., Pach, J.: Sliding disks in the plane. Int. J. Comput. Geom. Appl. 18(5), 373–387 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  6. Bernstein, A., Chechik, Sh.: Incremental topological sort and cycle detection in \(\tilde{O}(m\sqrt{n})\) expected total time. In: 29th Annual ACM-SIAM Symposium on Discrete Algorithms (New Orleans 2018), pp. 21–34. SIAM, Philadelphia (2018)

  7. Bhattacharya, S., Kulkarni, J.: An improved algorithm for incremental cycle detection and topological ordering in sparse graphs. In: 31st Annual ACM-SIAM Symposium on Discrete Algorithms (Salt Lake City 2020), pp. 2509–2521. SIAM, Philadelphia (2020)

  8. Călinescu, G., Dumitrescu, A., Pach, J.: Reconfigurations in graphs and grids. SIAM J. Discrete Math. 22(1), 124–138 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  9. Demaine, E.D., Demaine, M.L., Verrill, H.A.: Coin-moving puzzles. In: More Games of No Chance (Berkeley 2000). Math. Sci. Res. Inst. Publ., vol. 42, pp. 405–431. Cambridge University Press, Cambridge (2002)

  10. Demaine, E.D., Fekete, S.P., Keldenich, Ph., Meijer, H., Scheffer, Ch.: Coordinated motion planning: reconfiguring a swarm of labeled robots with bounded stretch. SIAM J. Comput. 48(6), 1727–1762 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  11. Dumitrescu, A.: Mover problems. In: Thirty Essays on Geometric Graph Theory, pp. 185–211. Springer, New York (2013)

  12. Dumitrescu, A., Jiang, M.: On reconfiguration of disks in the plane and related problems. Comput. Geom. 46(3), 191–202 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  13. García, A., Huemer, C., Hurtado, F., Tejel, J.: Moving rectangles. In: VII Jornadas de Matemática Discreta y Algorítmica (Castro Urdiales 2010), pp. 335–346 (2010)

  14. Geft, T., Tamar, A., Goldberg, K., Halperin, D.: Robust 2D assembly sequencing via geometric planning with learned scores. In: 15th International Conference on Automation Science and Engineering (Vancouver 2019), pp. 1603–1610. IEEE (2019)

  15. Goldwasser, M., Latombe, J.-C., Motwani, R.: Complexity measures for assembly sequences. In: 1996 IEEE International Conference on Robotics and Automation (Minneapolis 1996), vol. 2, pp. 1851–1857. IEEE (1996)

  16. Guibas, L.J., Yao, F.F.: On translating a set of rectangles. In: 12th Annual ACM Symposium on Theory of Computing (Los Angeles 1980), pp. 154–160. ACM, New York (1980)

  17. Halperin, D., Kavraki, L.E., Solovey, K.: Robotics. In: Handbook of Discrete and Computational Geometry, 3rd edn., pp. 1343–1376 (chapter 51). CRC Press, Boca Raton (2018)

  18. Halperin, D., van Kreveld, M., Miglioli-Levy, G., Sharir, M.: Space-aware reconfiguration (2020). arXiv:2006.04402

  19. Halperin, D., van Kreveld, M., Miglioli-Levy, G., Sharir, M.: Space-aware reconfiguration. In: 14th Workshop on the Algorithmic Foundations of Robotics. Springer Proc. Adv. Robot., vol. 17, pp. 37–53. Springer, Cham (2021)

  20. Halperin, D., Latombe, J.-C., Wilson, R.H.: A general framework for assembly planning: the motion space approach. Algorithmica 26(3–4), 577–601 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  21. Han, S.D., Stiffler, N.M., Krontiris, A., Bekris, K.E., Yu, J.: High-quality tabletop rearrangement with overhand grasps: hardness results and fast methods. In: 13th Robotics Conference: Science and Systems (Cambridge 2017), # 51 (2017)

  22. Havur, G., Ozbilgin, G., Erdem, E., Patoglu, V.: Geometric rearrangement of multiple movable objects on cluttered surfaces: a hybrid reasoning approach. In: 2014 IEEE International Conference on Robotics and Automation (Hong Kong 2014), pp. 445–452. IEEE (2014)

  23. Hohenwarter, M., Borcherds, M., Ancsin, G., Bencze, B., Blossier, M., Éliás, J., Frank, K., Gál, L., Hofstätter, A., Jordan, F., Konečný, Z., Kovács, Z., Lettner, E., Lizelfelner, S., Parisse, B., Solyom-Gecse, C., Stadlbauer, C., Tomaschko, M.: GeoGebra 6.0.571.0-w (2019). http://www.geogebra.org

  24. Johnson, W.W., Story, W.E.: Notes on the “15’’ puzzle. Am. J. Math. 2(4), 397–404 (1879)

    Article  MathSciNet  MATH  Google Scholar 

  25. Kedem, K., Livne, R., Pach, J., Sharir, M.: On the union of Jordan regions and collision-free translational motion amidst polygonal obstacles. Discrete Comput. Geom. 1(1), 59–71 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  26. Levihn, M., Igarashi, T., Stilman, M.: Multi-robot multi-object rearrangement in assignment space. In: 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems (Vilamoura 2012), pp. 5255–5261. IEEE (2012)

  27. Pearce, D.J., Kelly, P.H.J.: A dynamic topological sort algorithm for directed acyclic graphs. ACM J. Exp. Algorithmics 11, # 1.7 (2006)

  28. Sharir, M., Agarwal, P.K.: Davenport–Schinzel Sequences and Their Geometric Applications. Cambridge University Press, Cambridge (1995)

    MATH  Google Scholar 

  29. Stern, R., Sturtevant, N.R., Felner, A., Koenig, S., Ma, H., Walker, T.T., Li, J., Atzmon, D., Cohen, L., Satish Kumar, T.K., Boyarski, E., Barták, R.: Multi-agent pathfinding: definitions, variants, and benchmarks. In: 12th International Symposium on Combinatorial Search (Napa 2019), pp. 151–158. AAAI Press, Palo Alto (2019)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Golan Miglioli-Levy.

Additional information

Editor in Charge: Csaba D. Tóth

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Work by D.H. and G.M.L. has been supported in part by the Israel Science Foundation Grants 825/15, 1736/19, by the Blavatnik Computer Science Research Fund, and by the Yandex Machine Learning Initiative for Machine Learning at Tel Aviv University. Work by D.H. has also been supported in part by NSF/US-Israel-BSF (grant no. 2019754) and by the Israel Ministry of Science and Technology (grant no. 103129). Work by M.v.K. has been supported by the the Netherlands Organisation for Scientific Research under Grant 612.001.651. Work by M.S. and G.M.L. has been supported by Grant 260/18 from the Israel Science Foundation. Work by M.S. has also been supported by Grant G-1367-407.6/2016 from the German-Israeli Foundation for Scientific Research and Development, and by the Blavatnik Computer Science Research Fund. An abridged version of this paper has appeared in the 14th International Workshop on the Algorithmic Foundations of Robotics, 2020 [19].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Halperin, D., van Kreveld, M., Miglioli-Levy, G. et al. Space-Aware Reconfiguration. Discrete Comput Geom 69, 1157–1194 (2023). https://doi.org/10.1007/s00454-022-00407-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00454-022-00407-7

Keywords

Mathematics Subject Classification

Navigation