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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The source code is available for download at https://gitlab.com/mams-ucd/examples/microservice_traffic_simulator.
References
Adam, C., Gaudou, B.: BDI agents in social simulations: a survey. Knowl. Eng. Rev. 31(3), 207–238 (2016)
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)
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)
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
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
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
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)
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
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
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)
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)
Fielding, R.T.: Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation, University of California, Irvine (2000)
Fowler, M., Lewis, J.: Microservices: a definition of this new architectural term. Technical report (2014). https://martinfowler.com/articles/microservices.html
Gibson, J.J.: The Ecological Approach to Visual Perception. Houghton-Mifflin (1979)
Guinard, D.D., Trifa, V.M.: Building the Web of Things, vol. 3. Manning Publications, Shelter Island (2016)
Horni, A., Nagel, K., Axhausen, K. (eds.): Multi-Agent Transport Simulation MATSim. Ubiquity Press, London (2016). https://doi.org/10.5334/baw
Jooa, J., et al.: Agent-based simulation of affordance-based human behaviors in emergency evacuation. Simul. Modell. Pract. Theory 32, 99–115 (2013)
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)
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)
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
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
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)
Nagel, K., Schreckenberg, M.: Traffic jam dynamics in stochastic cellular automata. Technical report, Los Alamos National Laboratory (1995)
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)
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)
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)
Pursula, M.: Simulation of traffic systems-an overview. J. Geogr. Inf. Decis. Anal. 3(1), 1–8 (1999)
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/
Rao, A.S., Georgeff, M.P., et al.: BDI agents: from theory to practice. In: ICMAS, vol. 95 (1995)
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)
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
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)
Axhausen, K.W., Horni, A., Nagel, K.: The Multi-agent Transport Simulation MATSim. Ubiquity Press (2016)
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)
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
Zimmermann, O.: Microservices tenets. Comput. Sci.-Res. Dev. 32(3–4), 301–310 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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
DOI: https://doi.org/10.1007/978-3-031-29104-3_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-29103-6
Online ISBN: 978-3-031-29104-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)