Skip to main content
Log in

Putting it together: the computational complexity of designing robot controllers and environments for distributed construction

  • Published:
Swarm Intelligence Aims and scope Submit manuscript

Abstract

Creating target structures through the coordinated efforts of teams of autonomous robots (possibly aided by specific features in their environments) is a very important problem in distributed robotics. Many specific instances of distributed robotic construction teams have been developed manually. An important issue is whether automated controller design algorithms can both quickly produce robot controllers and guarantee that teams using these controllers will build arbitrary requested target structures correctly; this task may also involve specifying features in the environment that can aid the construction process. In this paper, we give the first computational and parameterized complexity analyses of several problems associated with the design of robot controllers and environments for creating target structures. These problems use a simple finite-state robot controller model that moves in a non-continuous deterministic manner in a grid-based environment. Our goal is to establish whether algorithms exist that are both fast and correct for all inputs and if not, under which restrictions such algorithms are possible. We prove that none of these problems are efficiently solvable in general and remain so under a number of plausible restrictions on controllers, environments, and target structures. We also give the first restrictions relative to which these problems are efficiently solvable and discuss what theoretical solvability and unsolvability results derived relative to the problems examined here mean for real-world construction using robot teams.

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

Similar content being viewed by others

Notes

  1. Our conception of FSR determinism is actually very different than the traditional definition of determinism for finite-state automata (Hopcroft et al. 2001, Section 2.2), in which automata can sense a single symbol at a time and each symbol maps to at most one state change (and, in the case of transducers, an associated action). Such automata themselves are deterministic by virtue of the structure of their state transition functions. FSR, on the other hand, can sense and be enabled by arbitrary patterns of squares within radius r of their current position. The number of such patterns that can be encountered is both exceptional large and fluid, as the sensed environment can change as the FSR and other FSR on its team move and/or change the environment. Therefore, an individual FSR cannot itself be deterministic; rather, the operation of that FSR can only be deterministic in the context of a particular FSR team operating in a particular environment.

  2. Note that this corresponds to the simplest possible type of collision avoidance policy, i.e., no collision avoidance at all.

  3. Proofs of all results stated in this section are given in the online supplementary material.

  4. All polynomial-time intractability results in this section hold relative to the \(P \ne NP\) conjecture, which is widely believed to be true (Fortnow 2009; Garey and Johnson 1979).

  5. This result holds relative to both the \(P \ne NP\) conjecture mentioned in Footnote 1 and the \(P = BPP\) conjecture, the latter of which is also widely believed to be true (Clementi et al. 1998; Wigderson 2007).

  6. Proofs of all results stated in this section are given in the online supplementary material.

  7. Each fp-intractability result in this section holds relative to one of the conjectures \(P \ne NP\) or \(FPT \ne W[1]\) (see the online supplementary material for details). Both of these conjectures are widely believed to be true (Downey and Fellows 2013; Fortnow 2009; Garey and Johnson 1979).

References

  • Aaronson, S. (2005). Complexity theory column 46: \(NP\)-complete problems and physical reality. ACM SIGACT News, 36(1), 30–52.

    Article  Google Scholar 

  • Allwright, M., Bhalla, N., & Dorigo, M. (2017). Structure and markings as stimuli for autonomous construction. In Proceedings of the 2017 18th international conference on advanced robotics (pp. 296–302). IEEE.

  • Ardiny, H., Witwicki, S., & Mondada, F. (2015). Are autonomous mobile robots able to take over construction? A review. International Journal of Robotics: Theory and Applications, 4(3), 10–21.

    Google Scholar 

  • Bonabeau, E., Dorigo, M., & Theraulaz, G. (1999). Swarm intelligence: From natural to artificial systems. Oxford: Oxford University Press.

    MATH  Google Scholar 

  • Bonabeau, E., Guérin, S., Snyers, D., Kuntz, P., & Theraulaz, G. (2000). Three-dimensional architectures grown by simple ‘stigmergic’ agents. BioSystems, 56(1), 13–32.

    Article  Google Scholar 

  • Brambilla, M., Ferrante, E., Birattari, M., & Dorigo, M. (2013). Swarm robotics: A review from the swarm engineering perspective. Swarm Intelligence, 7(1), 1–41.

    Article  Google Scholar 

  • Clementi, A. E. F., Rolim, J. D. P., & Trevisan, L. (1998). The computational complexity column: Recent advances towards proving \(P = BPP\). Bulletin of the European Association for Theoretical Computer Science, 64, 96–103.

    MATH  Google Scholar 

  • Cygan, M., Fomin, F. V., Kowalik, L., Lokshtanov, D., Marx, D., Pilipczuk, M., et al. (2015). Parameterized algorithms. Berlin: Springer.

    Book  MATH  Google Scholar 

  • Downey, R., & Fellows, M. (2013). Fundamentals of parameterized complexity. Berlin: Springer.

    Book  MATH  Google Scholar 

  • Dunne, P., Laurence, M., & Wooldridge, M. (2003). Complexity results for agent design. Annals of Mathematics, Computing Teleinformatics, 1(1), 19–36.

    Google Scholar 

  • Fortnow, L. (2009). The satus of the P versus NP problem. Communications of the ACM, 52(9), 78–86.

    Article  Google Scholar 

  • Garey, M. R., & Johnson, D. S. (1979). Computers and intractability. New York: W.H Freeman.

    MATH  Google Scholar 

  • Gerling V., & Von Mammen, S. (2016). Robotics for self-organised construction. In IEEE International Workshop on Foundations and Applications of Self* Systems, pp. 162–167. IEEE.

  • Grushin, A., & Reggia, J. A. (2008). Automated design of distributed control rules for the self-assembly of prespecified artificial structures. Robotics and Autonomous Systems, 56(4), 334–359.

    Article  Google Scholar 

  • Hopcroft, J. E., Motwani, R., & Ullman, J. (2001). Introduction to automata theory, languages, and computation (2nd ed.). Boston: Addison-Wesley.

    MATH  Google Scholar 

  • Karmarkar, N. (1984). A new polynomial-time algorithm for linear programming. Combinatorica, 4(4), 373–395.

    Article  MathSciNet  MATH  Google Scholar 

  • Khaluf, Y. (2016). Adaptive construction behavior in robot swarms. In Proceedings of the eighth international conference on adaptive and self-adaptive systems and applications (pp. 34–39). IARIA.

  • Kolling, A., Walker, P., Chakraborty, N., Sycara, K., & Lewis, M. (2016). Human interaction with robot swarms: A survey. IEEE Transactions on Human-Machine Systems, 46(1), 9–26.

    Article  Google Scholar 

  • Simon, H. A. (1996). The sciences of the artificial (3rd ed.). Cambridge: MIT Press.

    Google Scholar 

  • Soleymani, T., Trianni, V., Bonani, M., Mondada, F., & Dorigo, M. (2015). Bio-inspired construction with mobile robots and compliant pockets. Robotics and Autonomous Systems, 74, 340–350.

    Article  Google Scholar 

  • Stege, U. (2012). The impact of parameterized complexity to interdisciplinary problem solving. In The multivariate algorithmic revolution and beyond, no. 7370 in lecture notes in computer science (pp. 56–68). Berlin: Springer.

  • Stewart, I. A. (2003). The complexity of achievement and maintenance problems in agent-based systems. Artificial Intelligence, 2(146), 175–191.

    Article  MathSciNet  MATH  Google Scholar 

  • Stewart, R.L., & Russell, R.A. (2004). Building a loose wall structure with a robotic swarm using a spatio-temporal varying template. In Proceedings of the 2004 IEEE/SJ international conference on intelligent robots and systems (Vol. 1, pp. 712–716). IEEE.

  • Stroupe, A., Okon, A., Robinson, M., Huntsberger, T., Aghazarian, H., & Baumgartner, E. (2006). Sustainable cooperative robotic technologies for human and robotic outpost infrastructure construction and maintenance. Autonomous Robots, 20(2), 113–123.

    Article  Google Scholar 

  • Sugawara, K., & Doi, Y. (2016). Collective construction of dynamic equilibrium structure through interaction of simple robots with semi-active blocks. In Proceedings of the 12th international symposium on distributed autonomous robotic systems (pp. 165–176). Springer.

  • Theraulaz, G., & Bonabeau, E. (1995). Coordination in distributed building. Science, 269(5224), 686.

    Article  Google Scholar 

  • Theraulaz, G., Gautrais, J., Camazine, S., & Deneubourg, J. L. (2003). The formation of spatial patterns in social insects: from simple behaviours to complex structures. Philosophical Transactions of the Royal Society of London A: Mathematical, Physical and Engineering Sciences, 361(1807), 1263–1282.

    Article  MathSciNet  Google Scholar 

  • Von Mammen, S., Jacob, C., & Kókai, G. (2005). Evolving swarms that build 3d structures. 2005 IEEE congress on evolutionary computation (Vol. 2, pp. 1434–1441). IEEE.

  • Wareham, T. (1999). Systematic parameterized complexity analysis in computational phonology. Ph.D. thesis, University of Victoria, Canada.

  • Wareham, T. (2015). Exploring algorithmic options for the efficient design and reconfiguration of reactive robot swarms. In Proceedings of the 9th EAI international conference on bio-inspired information and communication technologies (pp. 295–302). Brussels: CST.

  • Wareham, T., Kwisthout, J., Haselager, P., & van Rooij, I. (2011). Ignorance is bliss: A complexity perspective on adapting reactive architectures. In Proceedings of the 1st joint IEEE international conference on development and learning and on epigenetic robotics (Vol. 2, pp. 1–5).

  • Wareham, T., & Vardy, A. Viable algorithmic options for designing reactive robot swarms. ACM Transactions on Autonomous Adaptive Systems (to appear).

  • Wawerla, J., Sukhatme, G. S., & Mataric, M. J. (2002). Collective construction with multiple robots. Proceedings of the 2002 IEEE/RSJ international conference on intelligent robots and systems (Vol. 3, pp. 2696–2701). IEEE.

  • Werfel, J., & Nagpal, R. (2008). Three-dimensional construction with mobile robots and modular blocks. The International Journal of Robotics Research, 27(3–4), 463–479.

    Article  Google Scholar 

  • Werfel, J., Petersen, K., & Nagpal, R. (2014). Designing collective behavior in a termite-inspired robot construction team. Science, 343, 754–758.

    Article  Google Scholar 

  • Wigderson, A. (2007). P, NP and mathematics: A computational complexity perspective. In Proceedings of ICM 2006 (Vol. 1, pp. 665–712). Zurich: EMS Publishing House.

  • Wooldridge, M., & Dunne, P.E. (2002). The computational complexity of agent verification. In Intelligent agents VIII (pp. 115–127). Springer.

Download references

Acknowledgements

The authors would like to thank the anonymous reviewers for many detailed comments and suggestions that helped to significantly improve the presentation and content of this paper. TW was supported by National Science and Engineering Research Council (NSERC) Discovery Grant 228104-2015.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Todd Wareham.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary material 1 (pdf 286 KB)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wareham, T., Vardy, A. Putting it together: the computational complexity of designing robot controllers and environments for distributed construction. Swarm Intell 12, 111–128 (2018). https://doi.org/10.1007/s11721-017-0152-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11721-017-0152-7

Keywords

Navigation