Skip to main content
Log in

Dynamic organization of flocking behaviors in a large-scale boids model

  • Research Article
  • Published:
Journal of Computational Social Science Aims and scope Submit manuscript

Abstract

A simulation of a half-million flock is studied using a simple boids model originally proposed by Craig Reynolds. It was modeled with a differential equation in 3D space with a periodic boundary. Flocking is collective behavior of active agents, which is often observed in the real world (e.g., starling swarms). It is, nevertheless, hard to rigorously define flocks (or their boundaries). First, even within the same swarm, the members are constantly updated, and second, flocks sometimes merge or divide dynamically. To define individual flocks and to capture their dynamic features, we applied a DBSCAN and a non-negative matrix factorization (NMF) to the boid dataset. Flocking behavior has different types of dynamics depending on the size of the flock. A function of different flocks is discussed with the result of NMF analysis.

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

Similar content being viewed by others

References

  1. Erra, U., Frola, B., Scarano, V., & Couzin, I. (2009) An efficient GPU implementation for large scale individual-based simulation of collective behavior. In 2009 International Workshop on High Performance Computational Systems Biology (pp. 51–58). IEEE . https://doi.org/10.1109/HiBi.2009.11

  2. Husselmann, A.V., & Hawick, K.A. (2011). Simulating species interactions and complex emergence in multiple Flocks of boids with GPUS. In: Parallel and Distributed Computing and Systems. ACTAPRESS, Calgary, AB, Canada. https://doi.org/10.2316/P.2011.757-012

  3. Ikegami, T., Mototake, Y. I., Kobori, S., Oka, M., & Hashimoto, Y. (2017). Life as an emergent phenomenon: studies from a large-scale boid simulation and web data. Philosophical Transactions Series A, Mathematical, Physical, and Engineering Sciences, 375(2109), 20160351. https://doi.org/10.1098/rsta.2016.0351.

    Article  Google Scholar 

  4. Lee, D. D., & Seung, H. S. (1999). Learning the parts of objects by non-negative matrix factorization. Nature, 401(6755), 788–791. https://doi.org/10.1038/44565.

    Article  Google Scholar 

  5. Maruyama, N., Hashimoto, Y., Mototake, Y., Saito, D., & Ikegami, T. (2017). Revisiting classification of large scale flocking. In: SWARM 2017: The 2nd International Symposium on Swarm Behavior and Bio-Inspired Robotics (pp. 307–310)

  6. Mototake, Y., & Ikegami, T. (2015). A Simulation Study of Large Scale Swarms. In: SWARM 2015: The First International Symposium on Swarm Behavior and Bio-Inspired Robotics October 28–30, Kyoto, Japan (pp. 446–450). No. i.

  7. Puckett, J. G., Pokhrel, A. R., & Giannini, J. A. (2018). Collective gradient sensing in fish schools. Scientific Reports, 8(1), 1–11. https://doi.org/10.1038/s41598-018-26037-9.

    Article  Google Scholar 

  8. Reynolds, C.W., W., C., & Reynolds, W., C. (1987). Flocks, herds and schools: A distributed behavioral model. In Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques—SIGGRAPH ’87. vol. 21, pp. 25–34. ACM Press, New York, New York, USA . https://doi.org/10.1145/37401.37406

  9. Smith, M. L., Koenig, P. A., & Peters, J. M. (2017). The cues of colony size: how honey bees sense that their colony is large enough to begin to invest in reproduction. Journal of Experimental Biology, 220(9), 1597–1605. https://doi.org/10.1242/jeb.150342.

    Article  Google Scholar 

Download references

Acknowledgements

This study is supported by MEXT as “Challenging Research on Post-K Computer”: Modeling and Application of Multiple Interaction of Social and Economic Phenomena (Project ID: hp180208) and partially supported by the JSPS KAKENHI project A “Organization and Realization of Collective Intelligence Based on the Ethological and Life-Theoretical Investigations” (17H01249).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Norihiro Maruyama.

Additional information

Publisher's Note

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

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Maruyama, N., Saito, D., Hashimoto, Y. et al. Dynamic organization of flocking behaviors in a large-scale boids model. J Comput Soc Sc 2, 77–84 (2019). https://doi.org/10.1007/s42001-019-00037-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s42001-019-00037-9

Keywords

Navigation