Skip to main content

Simulating Traffic with Agents, Microservices and REST

  • Conference paper
  • First Online:
Intelligent Distributed Computing XV (IDC 2022)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 1089))

Included in the following conference series:

Abstract

Hypermedia Multi-Agent System Simulation is a novel approach to building agent-based simulations in which the environment is modelled as a set of linked hypermedia resources. This paper discusses the implementation of an prototypical simulation system based on this concept and the lessons learnt in the process.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The source code is available for download at https://gitlab.com/mams-ucd/examples/microservice_traffic_simulator.

References

  1. Adam, C., Gaudou, B.: BDI agents in social simulations: a survey. Knowl. Eng. Rev. 31(3), 207–238 (2016)

    Article  Google Scholar 

  2. Auld, J., Hope, M., Ley, H., Sokolov, V., Xu, B., Zhang, K.: POLARIS: agent-based modeling framework development and implementation for integrated travel demand and network and operations simulations. Transp. Res. Part C: Emerg. Technol. 64 (2016)

    Google Scholar 

  3. Beaumont, K., O’Neill, E., Bermeo, N., Collier, R.: Collaborative route finding in semantic mazes. In: Proceedings of the All the Agents Challenge (ATAC 2021) (2021)

    Google Scholar 

  4. Bulumulla, C., Singh, D., Padgham, L., Chan, J.: Multi-level simulation of the physical, cognitive and social. Comput. Environ. Urban Syst. 93, 101756 (2022). https://doi.org/10.1016/j.compenvurbsys.2021.101756

  5. Charpenay, V., Käbisch, S.: On modeling the physical world as a collection of things: the W3C thing description ontology. In: Harth, A., et al. (eds.) ESWC 2020. LNCS, vol. 12123, pp. 599–615. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-49461-2_35

    Chapter  Google Scholar 

  6. Ciortea, A., Boissier, O., Ricci, A.: Engineering world-wide multi-agent systems with hypermedia. In: Weyns, D., Mascardi, V., Ricci, A. (eds.) EMAS 2018. LNCS (LNAI), vol. 11375, pp. 285–301. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-25693-7_15

    Chapter  Google Scholar 

  7. Ciortea, A., Mayer, S., Boissier, O., Gandon, F.: Exploiting interaction affordances: on engineering autonomous systems for the web of things. In: Second W3C Workshop on the Web of Things the Open Web to Challenge IoT Fragmentation. Munich, Germany (2019)

    Google Scholar 

  8. Collier., R., Russell., S., Golpayegani., F.: Harnessing hypermedia MAS and microservices to deliver web scale agent-based simulations. In: Proceedings of the 17th International Conference on Web Information Systems and Technologies - WEBIST, pp. 404–411. INSTICC, SciTePress (2021). https://doi.org/10.5220/0010711100003058

  9. Collier, R.W., Russell, S., Lillis, D.: Reflecting on agent programming with AgentSpeak(L). In: Chen, Q., Torroni, P., Villata, S., Hsu, J., Omicini, A. (eds.) PRIMA 2015. LNCS (LNAI), vol. 9387, pp. 351–366. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25524-8_22

    Chapter  Google Scholar 

  10. Dhaon, A., Collier, R.W.: Multiple inheritance in AgentSpeak (L)-style programming languages. In: Proceedings of the 4th International Workshop on Programming based on Actors Agents & Decentralized Control, pp. 109–120. ACM (2014)

    Google Scholar 

  11. Espié, S., Auberlet, J.M.: ARCHISIM: a behavioral multi-actors traffic simulation model for the study of a traffic system including ITS aspects. Int. J. ITS Res. 5(n1), p7–16 (2007)

    Google Scholar 

  12. Fielding, R.T.: Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation, University of California, Irvine (2000)

    Google Scholar 

  13. Fowler, M., Lewis, J.: Microservices: a definition of this new architectural term. Technical report (2014). https://martinfowler.com/articles/microservices.html

  14. Gibson, J.J.: The Ecological Approach to Visual Perception. Houghton-Mifflin (1979)

    Google Scholar 

  15. Guinard, D.D., Trifa, V.M.: Building the Web of Things, vol. 3. Manning Publications, Shelter Island (2016)

    Google Scholar 

  16. Horni, A., Nagel, K., Axhausen, K. (eds.): Multi-Agent Transport Simulation MATSim. Ubiquity Press, London (2016). https://doi.org/10.5334/baw

  17. Jooa, J., et al.: Agent-based simulation of affordance-based human behaviors in emergency evacuation. Simul. Modell. Pract. Theory 32, 99–115 (2013)

    Article  Google Scholar 

  18. Kapadia, M., Singh, S., Hewlett, W., Faloutsos, P.: Egocentric affordance fields in pedestrian steering. In: Proceedings of the 2009 Symposium on Interactive 3D Graphics and Games, I3D 2009, pp. 215–223. Association for Computing Machinery, New York (2009)

    Google Scholar 

  19. Krajzewicz, D., Hertkorn, G., Rössel, C., Wagner, P.: SUMO (Simulation of Urban MObility) - an open-source traffic simulation. In: Al-Akaidi, A. (ed.) Proceedings of the 4th Middle East Symposium on Simulation and Modelling (MESM20002), pp. 183–187 (2002)

    Google Scholar 

  20. Kravari, K., Bassiliades, N.: A rule-based eCommerce methodology for the IoT using trustworthy intelligent agents and microservices. In: Benzmüller, C., Ricca, F., Parent, X., Roman, D. (eds.) RuleML+RR 2018. LNCS, vol. 11092, pp. 302–309. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99906-7_22

    Chapter  Google Scholar 

  21. Krivic, P., Skocir, P., Kusek, M., Jezic, G.: Microservices as agents in IoT systems. In: Jezic, G., Kusek, M., Chen-Burger, Y.-H.J., Howlett, R.J., Jain, L.C. (eds.) KES-AMSTA 2017. SIST, vol. 74, pp. 22–31. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-59394-4_3

    Chapter  Google Scholar 

  22. Ksontini, F., Mandiau, R., Guessoum, Z., Espié, S.: Affordance-based agent model for road traffic simulation. Auton. Agent. Multi-Agent Syst. 29(5), 821–849 (2015)

    Article  Google Scholar 

  23. Nagel, K., Schreckenberg, M.: Traffic jam dynamics in stochastic cellular automata. Technical report, Los Alamos National Laboratory (1995)

    Google Scholar 

  24. O’Neill, E., Lillis, D., O’Hare, G.M.P., Collier, R.W.: Explicit modelling of resources for multi-agent microservices using the CArtAgO framework. In: Proceedings of the 19th International Conference on Autonomous Agents and MultiAgent Systems (2020)

    Google Scholar 

  25. Polhill, J.G., et al.: Crossing the chasm: a ‘tube-map’ for agent-based social simulation of policy scenarios in spatially-distributed systems. GeoInformatica 23(2), 169–199 (2019)

    Article  Google Scholar 

  26. Prevedouros, P.D., Li, H.: Comparison of freeway simulation with INTEGRATION, KRONOS, and KWaves. In: Fourth International Symposium on Highway Capacity, Maui, Hawaii, pp. 96–107 (2000)

    Google Scholar 

  27. Pursula, M.: Simulation of traffic systems-an overview. J. Geogr. Inf. Decis. Anal. 3(1), 1–8 (1999)

    Google Scholar 

  28. Rakow, C., Kaddoura, I., Nippold, R., Wagner, P.: Investigation of the system-wide effects of intelligent infrastructure concepts with microscopic and mesoscopic traffic simulation. In: 27th ITS World Congress, Hamburg, Germany (2021). https://elib.dlr.de/144810/

  29. Rao, A.S., Georgeff, M.P., et al.: BDI agents: from theory to practice. In: ICMAS, vol. 95 (1995)

    Google Scholar 

  30. Shang, X.C., Li, X.G., Xie, D.F., Jia, B., Jiang, R., Liu, F.: A data-driven two-lane traffic flow model based on cellular automata. Phys. A 588, 126531 (2022)

    Google Scholar 

  31. Ullah, M., Khattak, K., Khan, Z., Khan, M., Minallah, N., Khan, A.: Vehicular traffic simulation software: a systematic comparative analysis. Pak. J. Eng. Technol. 4(1), 66–78 (2021). https://doi.org/10.51846/vol4iss1pp66-78

    Article  Google Scholar 

  32. Vachtsevanou, D., Junker, P., Ciortea, A., Mizutani, I., Mayer, S.: Long-lived agents on the web: Continuous acquisition of behaviors in hypermedia environments. In: Companion Proceedings of the Web Conference 2020, pp. 185–189 (2020)

    Google Scholar 

  33. Axhausen, K.W., Horni, A., Nagel, K.: The Multi-agent Transport Simulation MATSim. Ubiquity Press (2016)

    Google Scholar 

  34. Collier, R.W., O’Neill, E., Lillis, D., O’Hare, G.: MAMS: multi-agent microservices. In: Companion Proceedings of the 2019 World Wide Web Conference, WWW 2019, pp. 655–662. Association for Computing Machinery, New York (2019)

    Google Scholar 

  35. Wai, S.Y., Cheah, W.S., Wai, S.K., Khairuddin, M.A.: Towards software engineering perspective for BDI agent. In: 2021 4th International Symposium on Agents, Multi-Agent Systems and Robotics (ISAMSR), pp. 106–110 (2021). https://doi.org/10.1109/ISAMSR53229.2021.9567829

  36. Zimmermann, O.: Microservices tenets. Comput. Sci.-Res. Dev. 32(3–4), 301–310 (2017)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rem Collier .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Jagutis, M., Russell, S., Collier, R. (2023). Simulating Traffic with Agents, Microservices and REST. In: Braubach, L., Jander, K., Bădică, C. (eds) Intelligent Distributed Computing XV. IDC 2022. Studies in Computational Intelligence, vol 1089. Springer, Cham. https://doi.org/10.1007/978-3-031-29104-3_10

Download citation

Publish with us

Policies and ethics