{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,25]],"date-time":"2025-10-25T14:18:57Z","timestamp":1761401937466,"version":"3.41.0"},"reference-count":65,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2017,12,31]],"date-time":"2017-12-31T00:00:00Z","timestamp":1514678400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"\u201cSmart Living Technologies\u201d"},{"name":"\u201cZero-energy Buildings in Smart Urban Districts\u201d"},{"DOI":"10.13039\/501100003407","name":"Italian Ministry for University and Research","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100003407","id-type":"DOI","asserted-by":"crossref"}]},{"name":"\u201cICT Solutions to Support Logistics and Transport Processes\u201d"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Auton. Adapt. Syst."],"published-print":{"date-parts":[[2017,12,31]]},"abstract":"<jats:p>\n            We present design concepts, programming constructs, and automatic verification techniques to support the development of\n            <jats:italic>adaptive<\/jats:italic>\n            Wireless Sensor Network (WSN) software. WSNs operate at the interface between the physical world and the computing machine and are hence exposed to unpredictable environment dynamics. WSN software must adapt to these dynamics to maintain dependable and efficient operation. However, developers are left without proper support to develop adaptive functionality in WSN software. Our work fills this gap with three key contributions: (i) design concepts help developers organize the necessary adaptive functionality and understand their relations, (ii) dedicated programming constructs simplify the implementations, (iii) custom verification techniques allow developers to check the correctness of their design before deployment. We implement dedicated tool support to tie the three contributions, facilitating their practical application. Our evaluation considers representative WSN applications to analyze code metrics, synthetic simulations, and cycle-accurate emulation of popular WSN platforms. The results indicate that our work is effective in simplifying the development of adaptive WSN software; for example, implementations are provably easier to test and to maintain, the run-time overhead of our dedicated programming constructs is negligible, and our verification techniques return results in a matter of seconds.\n          <\/jats:p>","DOI":"10.1145\/3145453","type":"journal-article","created":{"date-parts":[[2018,1,23]],"date-time":"2018-01-23T14:15:31Z","timestamp":1516716931000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Software Adaptation in Wireless Sensor Networks"],"prefix":"10.1145","volume":"12","author":[{"given":"Mikhail","family":"Afanasov","sequence":"first","affiliation":[{"name":"Politecnico di Milano, Milano, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4560-9541","authenticated-orcid":false,"given":"Luca","family":"Mottola","sequence":"additional","affiliation":[{"name":"Politecnico di Milano, Italy and SICS Swedish ICT, Milano, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Carlo","family":"Ghezzi","sequence":"additional","affiliation":[{"name":"Politecnico di Milano, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2018,1,23]]},"reference":[{"volume-title":"Proceedings of the International Symposium on Handheld and Ubiquitous Computing.","author":"Abowd G.","key":"e_1_2_1_1_1","unstructured":"G. Abowd , A. Dey , P. Brown , N. Davies , M. Smith , and P. Steggles . 1999. Towards a better understanding of context and context-awareness . In Proceedings of the International Symposium on Handheld and Ubiquitous Computing. G. Abowd, A. Dey, P. Brown, N. Davies, M. Smith, and P. Steggles. 1999. Towards a better understanding of context and context-awareness. In Proceedings of the International Symposium on Handheld and Ubiquitous Computing."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503274"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/11428572_7"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10009-007-0044-z"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2915918"},{"volume-title":"Proceedings of the International Conference on Network and Service Management (CNSM\u201911)","author":"Bourdenas T.","key":"e_1_2_1_6_1","unstructured":"T. Bourdenas , D. Wood , P. Zerfos , F. Bergamaschi , and M. Sloman . 2011. Self-adaptive routing in multi-hop sensor networks . In Proceedings of the International Conference on Network and Service Management (CNSM\u201911) . T. Bourdenas, D. Wood, P. Zerfos, F. Bergamaschi, and M. Sloman. 2011. Self-adaptive routing in multi-hop sensor networks. In Proceedings of the International Conference on Network and Service Management (CNSM\u201911)."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-05408-2_12"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-02161-9_1"},{"key":"e_1_2_1_9_1","unstructured":"E. Clarke O. Grumberg and D. Peled. 1999. Model Checking. MIT press.   E. Clarke O. Grumberg and D. Peled. 1999. Model Checking. MIT press."},{"key":"e_1_2_1_10_1","doi-asserted-by":"crossref","unstructured":"E. Clarke D. Kroening and F. Lerda. 2004. A tool for checking ANSI-C programs. In Tools and Algorithms for the Construction and Analysis of Systems. Springer 168--176.  E. Clarke D. Kroening and F. Lerda. 2004. A tool for checking ANSI-C programs. In Tools and Algorithms for the Construction and Analysis of Systems. Springer 168--176.","DOI":"10.1007\/978-3-540-24730-2_15"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-31980-1_40"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/5397.5399"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1047671.1047703"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/s007790170019"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1952522.1952531"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/LCN.2004.38"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.4108\/ICST.SIMUTOOLS2009.5637"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2426656.2426658"},{"volume-title":"Aspect-oriented Software Development","author":"Filman R.","key":"e_1_2_1_19_1","unstructured":"R. Filman , T. Elrad , S. Clarke , and M.ehmet Ak\u015fit. 2004. Aspect-oriented Software Development . Addison-Wesley Professional . R. Filman, T. Elrad, S. Clarke, and M.ehmet Ak\u015fit. 2004. Aspect-oriented Software Development. Addison-Wesley Professional."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-11917-0_13"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/1988008.1988031"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28169-3_9"},{"key":"e_1_2_1_23_1","doi-asserted-by":"crossref","unstructured":"E. Gaura L. Girod J. Brusey M. Allen and G. Challen. 2010. Wireless Sensor Networks: Deployments and Design Frameworks. Springer Science 8 Business Media.   E. Gaura L. Girod J. Brusey M. Allen and G. Challen. 2010. Wireless Sensor Networks: Deployments and Design Frameworks. Springer Science 8 Business Media.","DOI":"10.1007\/978-1-4419-5834-1"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/781131.781133"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1644038.1644040"},{"key":"e_1_2_1_26_1","unstructured":"Grevecom 2017. GrEVeCOM: Software Adaptation in Wireless Sensor Networks. Retrieved from bitbucket.org\/neslabpolimi\/conesc\/wiki\/.  Grevecom 2017. GrEVeCOM: Software Adaptation in Wireless Sensor Networks. Retrieved from bitbucket.org\/neslabpolimi\/conesc\/wiki\/."},{"volume-title":"Statistical Sensor Fusion","author":"Gustafsson F.","key":"e_1_2_1_27_1","unstructured":"F. Gustafsson . 2010. Statistical Sensor Fusion . Springer . F. Gustafsson. 2010. Statistical Sensor Fusion. Springer."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5381\/jot.2008.7.3.a4"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2629422"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/225014.225041"},{"key":"e_1_2_1_31_1","unstructured":"JavaCC 2016. JavaCC - The Java Compiler Compiler. Retrieved from javacc.java.net.  JavaCC 2016. JavaCC - The Java Compiler Compiler. Retrieved from javacc.java.net."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/1960275.1960305"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1378600.1378630"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/940923.940926"},{"volume-title":"Proceedings of the European Symposium on Ambient Intelligence.","author":"Kern N.","key":"e_1_2_1_35_1","unstructured":"N. Kern , B. Schiele , and A. Schmidt . 2003. Multi-sensor activity context detection for wearable computing . In Proceedings of the European Symposium on Ambient Intelligence. N. Kern, B. Schiele, and A. Schmidt. 2003. Multi-sensor activity context detection for wearable computing. In Proceedings of the European Symposium on Ambient Intelligence."},{"volume-title":"Proceedings of the European Conference on Object-oriented Programming (ECOOP\u201997)","author":"Kiczales G.","key":"e_1_2_1_36_1","unstructured":"G. Kiczales , J. Lamping , A. Mendhekar , C. Maeda , C. Lopes , J.-M. Loingtier , and J. Irwin . 1997. Aspect-oriented programming . Proceedings of the European Conference on Object-oriented Programming (ECOOP\u201997) . G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. Lopes, J.-M. Loingtier, and J. Irwin. 1997. Aspect-oriented programming. Proceedings of the European Conference on Object-oriented Programming (ECOOP\u201997)."},{"key":"e_1_2_1_37_1","volume-title":"Proc. IEEE","author":"Ko J.","year":"2010","unstructured":"J. Ko , C. Lu , M. B. Srivastava , J. A. Stankovic , A. Terzis , and M. Welsh . 2010. Wireless sensor networks for healthcare . Proc. IEEE ( 2010 ). J. Ko, C. Lu, M. B. Srivastava, J. A. Stankovic, A. Terzis, and M. Welsh. 2010. Wireless sensor networks for healthcare. Proc. IEEE (2010)."},{"volume-title":"Better Embedded System Software","author":"Koopman P.","key":"e_1_2_1_38_1","unstructured":"P. Koopman . 2010. Better Embedded System Software . Carnagie Mellon Press . P. Koopman. 2010. Better Embedded System Software. Carnagie Mellon Press."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1791212.1791234"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1077246.1077257"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1411204.1411251"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/1791314.1791316"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1230040.1230098"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/1922649.1922656"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/1809111.1809122"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1236360.1236422"},{"key":"e_1_2_1_47_1","unstructured":"NuSMV 2017. NuSMV: A New Symbolic Model Checker. Retrieved from nusmv.fbk.eu.  NuSMV 2017. NuSMV: A New Symbolic Model Checker. Retrieved from nusmv.fbk.eu."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/CDC.2007.4434303"},{"volume-title":"Proceedings of the International Conference on Embedded Wireless Systems and Networks (EWSN\u201910)","author":"P\u00e1sztor B.","key":"e_1_2_1_49_1","unstructured":"B. P\u00e1sztor , L. Mottola , C. Mascolo , G. P. Picco , S. Ellwood , and D. Macdonald . 2010. Selective reprogramming of mobile sensor networks through social community detection . In Proceedings of the International Conference on Embedded Wireless Systems and Networks (EWSN\u201910) . B. P\u00e1sztor, L. Mottola, C. Mascolo, G. P. Picco, S. Ellwood, and D. Macdonald. 2010. Selective reprogramming of mobile sensor networks through social community detection. In Proceedings of the International Conference on Embedded Wireless Systems and Networks (EWSN\u201910)."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/1882362.1882421"},{"volume-title":"Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201905)","author":"Polastre J.","key":"e_1_2_1_51_1","unstructured":"J. Polastre , R. Szewczyk , and D. Culler . 2005. Telos: Enabling ultra-low power wireless research . In Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201905) . J. Polastre, R. Szewczyk, and D. Culler. 2005. Telos: Enabling ultra-low power wireless research. In Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201905)."},{"key":"e_1_2_1_52_1","volume-title":"Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201909)","author":"Romer K.","year":"2009","unstructured":"K. Romer and Junyan Ma . 2009 . PDA: Passive distributed assertions for sensor networks . In Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201909) . K. Romer and Junyan Ma. 2009. PDA: Passive distributed assertions for sensor networks. In Proceedings of the Proceedings of the International Symposium on Information Processing in Sensor Networks (IPSN\u201909)."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2012.03.024"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491465.2491466"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/1791212.1791235"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1109\/WMCSA.1994.16"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0097-8493(99)00120-X"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/1988051.1988053"},{"key":"e_1_2_1_59_1","unstructured":"W. Stevens and E. N. Yourdon. 1979. Classics in software engineering. Chapter Structured Design.   W. Stevens and E. N. Yourdon. 1979. Classics in software engineering. Chapter Structured Design."},{"volume-title":"Proceedings of the International Symposium on Mobile Ad Hoc Networking and Computing (MobiHOC\u201900)","author":"Subramanian L.","key":"e_1_2_1_60_1","unstructured":"L. Subramanian and R. H. Katz . 2000. An architecture for building self-configurable systems . In Proceedings of the International Symposium on Mobile Ad Hoc Networking and Computing (MobiHOC\u201900) . L. Subramanian and R. H. Katz. 2000. An architecture for building self-configurable systems. In Proceedings of the International Symposium on Mobile Ad Hoc Networking and Computing (MobiHOC\u201900)."},{"key":"e_1_2_1_61_1","unstructured":"TinyOS 2016. TinyOS 2.1.2. Retrieved from www.tinyos.net.  TinyOS 2016. TinyOS 2.1.2. Retrieved from www.tinyos.net."},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.5555\/645435.652697"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/MNET.2008.4579768"},{"volume-title":"Proceedings of the IEEE Instrumentation and Measurement Technology Conference.","author":"Wu H.","key":"e_1_2_1_64_1","unstructured":"H. Wu , M. Siegel , R. Stiefelhagen , and J. Yang . 2002. Sensor fusion using Dempster-Shafer theory {for context-aware HCI} . In Proceedings of the IEEE Instrumentation and Measurement Technology Conference. H. Wu, M. Siegel, R. Stiefelhagen, and J. Yang. 2002. Sensor fusion using Dempster-Shafer theory {for context-aware HCI}. In Proceedings of the IEEE Instrumentation and Measurement Technology Conference."},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/2185677.2185730"}],"container-title":["ACM Transactions on Autonomous and Adaptive Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3145453","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3145453","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T02:13:35Z","timestamp":1750212815000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3145453"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,12,31]]},"references-count":65,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2017,12,31]]}},"alternative-id":["10.1145\/3145453"],"URL":"https:\/\/doi.org\/10.1145\/3145453","relation":{},"ISSN":["1556-4665","1556-4703"],"issn-type":[{"type":"print","value":"1556-4665"},{"type":"electronic","value":"1556-4703"}],"subject":[],"published":{"date-parts":[[2017,12,31]]},"assertion":[{"value":"2016-07-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-09-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-01-23","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}