Abstract
Expressive power of a language is generally defined as the breadth of ideas that can be represented and communicated in a language. For formal languages, the expressive power has been evaluated by checking its Turing completeness. In a modeling process, apart from the modeling language, we have two other counterparts: the system being modeled and the modeler. I argue that faithfulness to the system being modeled and usability for the modeler are at least as important as the expressive power of the modeling language, specially because most of the modeling languages used today are highly expressive. I call faithfulness and usability together “friendliness”. I show how we used the actor-based language Rebeca in modeling different applications, where it is friendly, and where it is not. I discuss how the friendliness of Rebeca may help in the analysis of models and allows for system synthesis on the basis of models.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
In some places I say Rebeca when I mean Timed Rebeca.
- 2.
The acknowledgment is at https://tools.ietf.org/html/draft-ietf-manet-aodvv2-16.
References
Aceto, L., Cimini, M., Ingólfsdóttir, A., Reynisson, A.H., Sigurdarson, S.H., Sirjani, M.: Modelling and simulation of asynchronous real-time systems using Timed Rebeca. In: FOCLASA, pp. 1–19 (2011)
Agha, G.: Actors: A Model of Concurrent Computation in Distributed Systems. MIT Press, Cambridge (1990)
Akyildiz, I., Vuran, M.C.: Wireless Sensor Networks. Wiley, New York (2010)
Bagheri, M., Akkaya, I., Khamespanah, E., Khakpour, N., Sirjani, M., Movaghar, A., Lee, E.A.: Coordinated actors for reliable self-adaptive systems. In: 13th International Conference on Formal Aspects of Component Software, FACS 2016 (2016)
Benini, L., Micheli, G.D.: Networks on chips: a new SoC paradigm. IEEE Comput. 35(1), 70–78 (2002). https://doi.org/10.1109/2.976921
Bienia, C., Kumar, S., Singh, J.P., Li, K.: The PARSEC benchmark suite: characterization and architectural implications. In: Proceedings of the 17th International Conference on Parallel Architectures and Compilation Techniques, PACT 2008, pp. 72–81. ACM (2008). https://doi.org/10.1145/1454115.1454128
de Boer, F.S., et al.: A survey of active object languages. ACM Comput. Surv. 50(5), 76:1–76:39 (2017). https://doi.org/10.1145/3122848
Castagnari, C., de Berardinis, J., Forcina, G., Jafari, A., Sirjani, M.: Lightweight preprocessing for agent-based simulation of smart mobility initiatives. In: Cerone, A., Roveri, M. (eds.) SEFM 2017. LNCS, vol. 10729, pp. 541–557. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-74781-1_36
Chiu, G.M.: The odd-even turn model for adaptive routing. IEEE Trans. Parallel Distrib. Syst. 11(7), 729–738 (2000). https://doi.org/10.1109/71.877831
El-Hoiydi, A.: Spatial TDMA and CSMA with preamble sampling for low power ad hoc wireless sensor networks. In: Proceedings of the Seventh IEEE Symposium on Computers and Communications (ISCC 2002), pp. 685–692 (2002). https://doi.org/10.1109/ISCC.2002.1021748
Ghassemi, F., Fokkink, W.: Model checking mobile ad-hoc networks. Formal Methods Syst. Des. 49(3), 159–189 (2016). https://doi.org/10.1007/s10703-016-0254-7
Guerrier, P., Greiner, A.: A generic architecture for on-chip packet-switched interconnections. In: 2000 Design, Automation and Test in Europe (DATE 2000), pp. 250–256 (2000). https://doi.org/10.1109/DATE.2000.840047
Hewitt, C.: Description and theoretical analysis (using schemata) of PLANNER: a language for proving theorems and manipulating models in a robot. Technical report, MIT Artificial Intelligence Technical Report (1972)
HSPICE: HSPICE homepage: https://www.synopsys.com/verification/ams-verification/circuit-simulation/hspice.html
Hu, J., Marculescu, R.: DyAD: smart routing for networks-on-chip. In: Proceedings of the 41st Annual Design Automation Conference, DAC 2004, pp. 260–263. ACM (2004). https://doi.org/10.1145/996566.996638
ISO: Ergonomics of human-system interaction part 210: Human-centred design for interactive systems. Technical report, ISO 9241-210:2010, International Organization for Standardization (2010). https://www.iso.org/obp/ui/#iso:std:iso:9241:-210:ed-1:v1:en
Khamespanah, E., Khosravi, R., Sirjani, M.: An efficient TCTL model checking algorithm and a reduction technique for verification of timed actor models. In: Science of Computer Programming (2017). http://www.rebeca-lang.org/wiki/pmwiki.php/Rebeca/Publications
Khamespanah, E., Mechitov, K., Sirjani, M., Agha, G.: Schedulability analysis of distributed real-time sensor network applications using actor-based model checking. In: Bošnački, D., Wijs, A. (eds.) SPIN 2016. LNCS, vol. 9641, pp. 165–181. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-32582-8_11
Khamespanah, E., Mechitov, K., Sirjani, M., Agha, G.A.: Modeling and analyzing real-time wireless sensor and actuator networks using actors and model checking. In: Software Tools for Technology Transfer (2017). http://rebeca.cs.ru.is/files/Papers/2016/Modeling-and-Analyzing-Real-Time-Wireless-Sensor-and-Actuator-Networks-Using-Actors-and-Model-Checking.pdf
Khamespanah, E., Sirjani, M., Sabahi-Kaviani, Z., Khosravi, R., Izadi, M.: Timed Rebeca schedulability and deadlock freedom analysis using bounded floating time transition system. Sci. Comput. Program. 98, 184–204 (2015)
Manna, Z., Pnueli, A.: On the faithfulness of formal models. In: Tarlecki, A. (ed.) MFCS 1991. LNCS, vol. 520, pp. 28–42. Springer, Heidelberg (1991). https://doi.org/10.1007/3-540-54345-7_46
Polastre, J., Hill, J.L., Culler, D.E.: Versatile low power media access for wireless sensor networks. In: Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems, SenSys 2004, pp. 95–107 (2004). https://doi.org/10.1145/1031495.1031508
Ptolemaeus, C. (ed.): System Design, Modeling, and Simulation using Ptolemy II. Ptolemy.org (2014). http://ptolemy.org/books/Systems
Razavi, N., Behjati, R., Sabouri, H., Khamespanah, E., Shali, A., Sirjani, M.: Sysfier: actor-based formal verification of SystemC. ACM Trans. Embed. Comput. Syst. 10(2), 19:1–19:35 (2011). https://doi.org/10.1145/1880050.1880055
Reynisson, A.H., Sirjani, M., Aceto, L., Cimini, M., Jafari, A., Ingólfsdóttir, A., Sigurdarson, S.H.: Modelling and simulation of asynchronous real-time systems using Timed Rebeca. Sci. Comput. Program. 89, 41–68 (2014). https://doi.org/10.1016/j.scico.2014.01.008
Sharifi, Z., Mosaffa, M., Mohammadi, S., Sirjani, M.: Functional and performance analysis of network-on-chips using actor-based modeling and formal verification. In: ECEASST, AVoCS 2013 Proceedings, vol. 66 (2013)
Sharifi, Z., Mosaffa, M., Mohammadi, S., Sirjani, M.: Performance analysis of gals NoC using actor models. Draft (2017)
Sharifi, Z., Mohammadi, S., Sirjani, M.: Comparison of NoC routing algorithms using formal methods. In: Proceedings of PDPTA 2013, pp. 474–482 (2013)
Sheibanyrad, A., Greiner, A., Panades, I.M.: Multisynchronous and fully asynchronous NoCs for GALS architectures. IEEE Des. Test Comput. 25(6), 572–580 (2008). https://doi.org/10.1109/MDT.2008.167
Sirjani, M., Movaghar, A., Shali, A., de Boer, F.: Modeling and verification of reactive systems using Rebeca. Fundam. Inform. 63(4), 385–410 (2004)
Sirjani, M.: Rebeca: theory, applications, and tools. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2006. LNCS, vol. 4709, pp. 102–126. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-74792-5_5
Sirjani, M., Jaghoori, M.M.: Ten years of analyzing actors: Rebeca experience. In: Agha, G., Danvy, O., Meseguer, J. (eds.) Formal Modeling: Actors, Open Systems, Biological Systems. LNCS, vol. 7000, pp. 20–56. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-24933-4_3
Sirjani, M., Khamespanah, E.: On time actors. In: Ábrahám, E., Bonsangue, M., Johnsen, E.B. (eds.) Theory and Practice of Formal Methods. LNCS, vol. 9660, pp. 373–392. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-30734-3_25
TinyOS: TinyOS community forum: an open-source OS for the networked sensor regime. http://www.tinyos.net
Yousefi, B., Ghassemi, F.: An efficient loop-free version of AODVv2. CoRR (2017). arXiv:abs/1709.01786v2
Yousefi, B., Ghassemi, F., Khosravi, R.: Modeling and efficient verification of broadcasting actors. In: Dastani, M., Sirjani, M. (eds.) FSEN 2015. LNCS, vol. 9392, pp. 69–83. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24644-4_5
Yousefi, B., Ghassemi, F., Khosravi, R.: Modeling and efficient verification of wireless ad-hoc networks. Formal Aspects Comput. 29(6), 1051–1086 (2017)
Acknowledgements
My work is supported in part by DPAC Project (Dependable Platforms for Autonomous Systems and Control) at Mälardalen University, Sweden, and by the project Self-Adaptive Actors: SEADA? (nr 163205-051) of the Icelandic Research Fund.
I would like to thank the Rebeca team, everyone who worked in the team since 2001, and helped us to gain the insight and the experience, and be where we are now. Special thanks go to Ehsan Khamespanah for refactoring the model checking tool of Rebeca and extending and maintaining it for years. For writing this paper I had to bug the leaders of the three projects explained in the three Sects. 3, 4, and 5; many thanks to Ehsan Khamespanah, Fatemeh Ghassemi, and Zeinab Sharifi. I would also like to thank Reinhard Wilhelm for challenging me on the explanation of the main concepts discussed in this paper. The discussion significantly improved the paper. Thanks to Hossein Hojjat for his careful comments throughout the paper, thanks to Paolo Masci for reading the paper and giving me the right pointers for the standard definitions of usability, thanks to Mohammad Reza Mousavi who kept me on my toes when talking about expressiveness, thanks to Tom Henzinger for his reassuring words, thanks to Alessandro Papadopoulos whose comments made me add some final notes to the paper, and thanks to Hans Hansson, Jan Friso Groot, Mohsen Vakilian and Amin Shali for finding the paper thought provoking and enjoyable. Last but not least thanks to Edward for inspiring me and being the drive and support to finally write this paper.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this chapter
Cite this chapter
Sirjani, M. (2018). Power is Overrated, Go for Friendliness! Expressiveness, Faithfulness, and Usability in Modeling: The Actor Experience. In: Lohstroh, M., Derler, P., Sirjani, M. (eds) Principles of Modeling. Lecture Notes in Computer Science(), vol 10760. Springer, Cham. https://doi.org/10.1007/978-3-319-95246-8_25
Download citation
DOI: https://doi.org/10.1007/978-3-319-95246-8_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-95245-1
Online ISBN: 978-3-319-95246-8
eBook Packages: Computer ScienceComputer Science (R0)