Skip to main content
Log in

Particle computation: complexity, algorithms, and logic

  • Published:
Natural Computing Aims and scope Submit manuscript

Abstract

We investigate algorithmic control of a large swarm of mobile particles (such as robots, sensors, or building material) that move in a 2D workspace using a global input signal (such as gravity or a magnetic field). Upon activation of the field, each particle moves maximally in the same direction until forward progress is blocked by a stationary obstacle or another stationary particle. In an open workspace, this system model is of limited use because it has only two controllable degrees of freedom—all particles receive the same inputs and move uniformly. We show that adding a maze of obstacles to the environment can make the system drastically more complex but also more useful. We provide a wide range of results for a wide range of questions. These can be subdivided into external algorithmic problems, in which particle configurations serve as input for computations that are performed elsewhere, and internal logic problems, in which the particle configurations themselves are used for carrying out computations. For external algorithms, we give both negative and positive results. If we are given a set of stationary obstacles, we prove that it is NP-hard to decide whether a given initial configuration of unit-sized particles can be transformed into a desired target configuration. Moreover, we show that finding a control sequence of minimum length is PSPACE-complete. We also work on the inverse problem, providing constructive algorithms to design workspaces that efficiently implement arbitrary permutations between different configurations. For internal logic, we investigate how arbitrary computations can be implemented. We demonstrate how to encode dual-rail logic to build a universal logic gate that concurrently evaluates and, nand, nor, and or operations. Using many of these gates and appropriate interconnects, we can evaluate any logical expression. However, we establish that simulating the full range of complex interactions present in arbitrary digital circuits encounters a fundamental difficulty: a fan-out gate cannot be generated. We resolve this missing component with the help of 2 × 1 particles, which can create fan-out gates that produce multiple copies of the inputs. Using these gates we provide rules for replicating arbitrary digital circuits.

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
Fig. 16
Fig. 17
Fig. 18
Fig. 19

Similar content being viewed by others

References

  • Abdelkader A, Acharya A, Dasler P (2016) 2048 without new tiles is still hard. In: Demaine ED, Grandoni F (eds) 8th international conference on fun with algorithms (FUN 2016), Volume 49 of Leibniz international proceedings in informatics (LIPIcs), Dagstuhl, Germany, 2016. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, pp 1:1–1:14

  • Abelson H, Allen D, Coore D, Hanson C, Homsy G, Thomas J, Knight F, Nagpal R, Rauch E, Sussman GJ, Weiss R (2000) Amorphous computing. Commun ACM 43(5):74–82

    Article  Google Scholar 

  • Adamatzky A, Durand-Lose J (2012) Collision-based computing. In: Rozenberg G, Bäck T, Kok J (eds) Handbook of natural computing. Springer, Berlin, pp 1949–1978

    Chapter  Google Scholar 

  • Akella S, Huang WH, Lynch KM, Mason MT (2000) Parts feeding on a conveyor with a one joint robot. Algorithmica 26(3):313–344

    MathSciNet  MATH  Google Scholar 

  • Akella S, Mason MT (1999) Using partial sensor information to orient parts. Int J Rob Res 18(10):963–997

    Article  Google Scholar 

  • Becker AT, Bretl TW (2012) Approximate steering of a unicycle under bounded model perturbation using ensemble control. Int J Rob Res 28(3):580–591

    Google Scholar 

  • Becker AT, Onyuksel C, Bretl TW (2012) Feedback control of many differential-drive robots with uniform control inputs. In: IEEE/RSJ international conference on intelligent robots and systems (IROS), pp 2256–2262

  • Becker AT, Habibi G, Werfel J, Rubenstein M, McLurkin J (2013a) Massive uniform manipulation: controlling large populations of simple robots with a common input signal. In: IEEE/RSJ international conference on intelligent robots and systems (IROS), pp 520–527

  • Becker AT, Ou Y, Kim P, Kim MJ, Julius A (2013b) Feedback control of many magnetized: Tetrahymena pyriformis cells by exploiting phase inhomogeneity. In: 2013 IEEE/RSJ international conference on intelligent robots and systems (IROS), pp 3317–3323

  • Becker AT, Demaine ED, Fekete SP, Habibi G, McLurkin J (2014a) Reconfiguring massive particle swarms with limited, global control. In: International symposium on algorithms and experiments for sensor systems, wireless networks and distributed robotics (ALGOSENSORS 2013), lecture notes in computer science, pp 51–66

  • Becker AT, Demaine ED, Fekete SP, McLurkin J (2014b) Particle computation: designing worlds to control robot swarms with only global signals. In: IEEE international conference on robotics and automation (ICRA), pp 6751–6756

  • Becker AT, Onyuksel C, Bretl TW, McLurkin J (2014c) Controlling many differential-drive robots with uniform control inputs. Int J Rob Res 33(13):1626–1644

    Article  Google Scholar 

  • Becker AT, Demaine ED, Fekete SP, Shad SHM, Morris-Wright R (2015) Tilt: the video-designing worlds to control robot swarms with only global signals. In: 31st international symposium on computational geometry (SoCG’15), pp 16–18. Video available at https://youtu.be/H6o9DTIfkn0. Accessed 07 Dec 2017

  • Berlekamp ER, Conway JH, Guy RK (2001–2004) Winning Ways for your mathematical plays, 2nd edn, vol 1–4. A. K. Peters Ltd, Natick

  • Chanu A, Felfoul O, Beaudoin G, Martel S (2008) Adapting the clinical MRI software environment for real-time navigation of an endovascular untethered ferromagnetic bead for future endovascular interventions. Magn Reson Med 59(6):1287–1297

    Article  Google Scholar 

  • Chiang P-T, Mielke J, Godoy J, Guerrero JM, Alemany LB, Villagómez CJ, Saywell A, Grill L, Tour JM (2011) Toward a light-driven motorized nanocar: synthesis and initial imaging of single molecules. ACS Nano 6(1):592–597

    Article  Google Scholar 

  • Demaine ED, Hearn RA (2009) Playing games with algorithms: algorithmic combinatorial game theory. In: Albert MH, Nowakowski RJ (eds) Games of no chance. MSRI publications 56. Cambridge University Press, Cambridge

    Google Scholar 

  • Demaine ED, Demaine ML, O’Rourke J (2000) PushPush and Push-1 are NP-hard in 2D. In: 12th annual Canadian conference on computational geometry (CCCG), pp 211–219

  • Donald BR, Levey CG, Paprotny I, Rus D (2013) Planning and control for microassembly of structures composed of stress-engineered mems microrobots. Int J Rob Res 32(2):218–246

    Article  Google Scholar 

  • Dor D, Zwick U (1999) Sokoban and other motion planning problems. Comput Geom 13(4):215–228

    Article  MathSciNet  MATH  Google Scholar 

  • Doty D, Patitz MJ, Summers SM (2009) Limitations of self-assembly at temperature 1. In: 15th international meeting on DNA computing and molecular programming (DNA15), pp 283–294

  • Dummit D, Foote R (2009) Abstract algebra, 3rd edn. Wiley, New York, pp 29–31

    Google Scholar 

  • Engels B, Kamphans T (2005) On the complexity of Randolph’s robot game. Technical report, Rheinische Friedrich-Wilhelms-Universität Bonn, Institut für Informatik I

  • Erdmann M, Mason M (1988) An exploration of sensorless manipulation. IEEE J Robot Autom 4(4):369–379

    Article  Google Scholar 

  • Fekete SP, Kröller A (2006) Geometry-based reasoning for a large sensor network. In: 22nd international symposium on computational geometry (SoCG 2006), pp 475–476. Video available at http://www.computational-geometry.org/SoCG-videos/socg06video/. Accessed 07 Dec 2017

  • Fekete SP, Kröller A (2007) Topology and routing in sensor networks. In: 3rd international workshop algorithmic aspects wireless sensor networks (ALGOSENSORS 2007), volume 4837 of lecture notes in computer science. Springer, pp 6–15

  • Fekete SP, Kröller A, Pfisterer D, Fischer S, Buschmann C (2004) Neighborhood-based topology recognition in sensor networks. In: 1st international workshop algorithmic aspects wireless sensor networks (ALGOSENSORS 2004), volume 3121 of lecture notes in computer science. Springer, pp 123–136

  • Fekete SP, Hendricks J, Patitz MJ, Rogers TA, Schweller RT (2015a) Universal computation with arbitrary polyomino tiles in non-cooperative self-assembly. In: 26th ACM-SIAM symposium on discrete algorithms (SODA 2015). Society for Industrial and Applied Mathematics, pp 148–167

  • Fekete SP, Richa A, Römer K, Scheideler C (2015b) Algorithmic foundations of programmable matter. In: Dagstuhl seminar 16271

  • Floyd S, Diller E, Pawashe C, Sitti M (2011) Control methodologies for a heterogeneous group of untethered magnetic micro-robots. Int J Rob Res 30(13):1553–1565

    Article  Google Scholar 

  • Fredkin E, Toffoli T (1982) Conservative logic. Int J Theor Phys 21(3–4):219–253

    Article  MathSciNet  MATH  Google Scholar 

  • Frutiger DR, Kratochvi BE, Vollmers K, Nelson BJ (2008) Magmites—wireless resonant magnetic microrobots. In: IEEE international conference on robotics and automation (ICRA), pp 1770–1771

  • Goemans OC, Goldberg K, van der Stappen AF (2006) Blades: a new class of geometric primitives for feeding 3d parts on vibratory tracks. In: IEEE international conference on robotics and automation (ICRA), pp 1730–1736

  • Goldberg KY (1993) Orienting polygonal parts without sensors. Algorithmica 10(2):201–225

    Article  MathSciNet  MATH  Google Scholar 

  • Goldberg K, Mirtich BV, Zhuang Y, Craig J, Carlisle BR, Canny J (1999) Part pose statistics: estimators and experiments. IEEE Trans Robot Autom 15(5):849–857

    Article  Google Scholar 

  • Hearn RA (2005) The complexity of sliding-block puzzles and plank puzzles. In: Cipra B, Demaine ED, Demaine ML, Rodgers T (eds) Tribute to a mathemagician. A K Peters, Natick, pp 173–183

  • Hearn RA, Demaine ED (2005) PSPACE-completeness of sliding-block puzzles and other problems through the nondeterministic constraint logic model of computation. Theor Comput Sci 343(1):72–96

    Article  MathSciNet  MATH  Google Scholar 

  • Hoffmann M (2000) Motion planning amidst movable square blocks: Push-* is NP-hard. In: Canadian conference on computational geometry (CCCG 2000), pp 205–210

  • Holzer M, Schwoon S (2004) Assembling molecules in ATOMIX is hard. Theor Comput Sci 313(3):447–462

    Article  MathSciNet  MATH  Google Scholar 

  • Jerrum MR (1985) The complexity of finding minimum-length generator sequences. Theor Comput Sci 36:265–289

    Article  MathSciNet  MATH  Google Scholar 

  • Kahn J, Katz R, Pister K (2000) Emerging challenges: mobile networking for smart dust. J Commun Netw 2:188–196

    Article  Google Scholar 

  • Khalil ISM, Pichel MP, Reefman BA, Sukas OS, Abelmann L, Misra S (2013) Control of magnetotactic bacterium in a micro-fabricated maze. In: IEEE international conference on robotics and automation (ICRA), pp 5488–5493

  • Kröller A, Fekete SP, Pfisterer D, Fischer S (2006)Deterministic boundary recognition and topology extraction for large sensor networks. In: 17th ACM-SIAM symposium on discrete algorithms (SODA 2006), pp 1000–1009

  • LaBean T, Winfree E, Reif J (1999) Experimental progress in computation by self-assembly of DNA tilings. DNA Based Comput 5:123–140

    MATH  Google Scholar 

  • Leighton FT (1991) Introduction to parallel algorithms and architectures: arrays, trees, hypercubes. Morgan Kaufmann, Los Altos

    MATH  Google Scholar 

  • Lynch KM, Northrop M, Pan P (2002) Stable limit sets in a dynamic parts feeder. IEEE Trans Rob Autom 18(4):608–615

    Article  Google Scholar 

  • Maňuch J, Stacho L, Stoll C (2010) Two lower bounds for self-assemblies at temperature 1. J Comput Biol 17(6):841–852

    Article  MathSciNet  Google Scholar 

  • McCourtney S (2001) ENIAC, the triumphs and tragedies of the world’s first computer, 2nd edn. Berkeley Trade, London

    Google Scholar 

  • Meunier PE, Patitz MJ, Summers SM, Theyssier G, Winslow A, Woods D (2014) Intrinsic universality in tile self-assembly requires cooperation. In: 25th ACM-SIAM symposium on discrete algorithms (SODA 2014), pp 752–771

  • Moll M, Erdmann M (2002) Manipulation of pose distributions. Int J Rob Res 21(3):277–292

    Article  MATH  Google Scholar 

  • Murphey TD, Burdick JW (2004) Feedback control methods for distributed manipulation systems that involve mechanical contacts. Int J Rob Res 23(7–8):763–781

    Article  Google Scholar 

  • Murphey TD, Bernheisel J, Choi D, Lynch KM (2005) An example of parts handling and self-assembly using stable limit sets. In: IEEE/RSJ international conference on intelligent robots and systems (IROS), pp 1624–1629

  • Ou Y, Kim DH, Kim P, Kim MJ, Julius AA (2013) Motion control of magnetized tetrahymena pyriformis cells by magnetic field with model predictive control. Int J Rob Res 32(1):129–139

    Article  Google Scholar 

  • Peyer KE, Zhang L, Nelson BJ (2013) Bio-inspired magnetic swimming microrobots for biomedical applications. Nanoscale 5:1259–1272

    Article  Google Scholar 

  • Rendell P (2002) Chapter 18: Turing universality of the game of life. In: Adamatzky A (ed) Collision-based computing. Springer, London, pp 513–539

    Chapter  Google Scholar 

  • Rendell P (2011) A universal Turing machine in Conway’s game of life. In: 2011 international conference on high performance computing and simulation (HPCS). IEEE, pp 764–772

  • Rubenstein M, Ahler C, Nagpal. Kilobot R (2012) A low cost scalable robot system for collective behaviors. In:IEEE international conference on robotics and automation (ICRA), pp 3293–3298

  • Shad HM, Morris-Wright R, Demaine ED, Fekete SP, Becker AT (2015) Particle computation: device fan-out and binary memory. In: 2015 IEEE international conference on robotics and automation (ICRA). IEEE, pp 5384–5389

  • ThinkFun. Tilt: gravity fed logic maze. http://www.thinkfun.com/tilt

  • van der Stappen A, Berretty RP, Goldberg K, Overmars M (2002) Geometry and part feeding. In: Hager GD, Christensen HI, Bunke H, Klein R (eds) Sensor based intelligent robots, Lecture Notes in Computer Science, vol 2238. Springer, Berlin, pp 259–281

  • Vartholomeos P, Akhavan-Sharif M, Dupont PE (2012) Motion planning for multiple millimeter-scale magnetic capsules in a fluid environment. In: IEEE international conference on robotics and automation (ICRA), pp 1927–1932

  • Vose TH, Umbanhowar P, Lynch KM (2009) Friction-induced velocity fields for point parts sliding on a rigid oscillated plate. Int J Rob Res 28(8):1020–1039

    Article  Google Scholar 

  • Vose TH, Umbanhowar P, Lynch KM (2012) Sliding manipulation of rigid bodies on a controlled 6-DoF plate. Int J Rob Res 31(7):819–838

    Article  Google Scholar 

  • Wilfong G (1991) Motion planning in the presence of movable obstacles. Ann Math Artif Intell 3(1):131–150

    Article  MathSciNet  MATH  Google Scholar 

  • Winfree E (1998) Algorithmic self-assembly of DNA. PhD thesis, California Institute of Technology

  • Winfree E, Liu F, Wenzler L, Seeman N (1998) Design and self-assembly of two-dimensional DNA crystals. Nature 394:539–544

    Article  Google Scholar 

  • Zimmermann R, Fichtner W (1997) Low-power logic styles: CMOS versus pass-transistor logic. IEEE J Solid State Circuits 32(7):1079–1090

    Article  Google Scholar 

Download references

Acknowledgements

We thank an anonymous reviewer for carefully going through our work and making numerous constructive suggestions that helped to improve the presentation of our paper. We thank Hamed Mohtasham Shad for building and testing the first experimental tilt tables that brought these algorithms to life. We acknowledge the helpful discussion and motivating experimental efforts with T. pyriformis cells by Yan Ou and Agung Julius at RPI and Paul Kim and MinJun Kim at Drexel University. Preliminary versions of Sects. 4 and 5 are main topics of our paper Becker et al. (2014a) with an extra result proving the system to give rise to pspace-completeness in Sect. 5.3 from paper Becker et al. (2014b). The particle logic in Sects. 6 and 7 was introduced in Becker et al. (2014b) and completed in paper Shad et al. (2015). This work has been partially supported by the National Science Foundation (Grant Nos. [IIS-1553063] and [IIS-1619278]).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sándor P. Fekete.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Becker, A.T., Demaine, E.D., Fekete, S.P. et al. Particle computation: complexity, algorithms, and logic. Nat Comput 18, 181–201 (2019). https://doi.org/10.1007/s11047-017-9666-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11047-017-9666-6

Keywords

Navigation