Blackboard-Based Software Framework and Tool for Mobile Device Context Awareness Panu Korpipää Panu

Total Page:16

File Type:pdf, Size:1020Kb

Blackboard-Based Software Framework and Tool for Mobile Device Context Awareness Panu Korpipää Panu ESPOO 2005 VTT PUBLICATIONS 579 VTT PUBLICATIONS 579 Mobile context awareness research aims at providing the mobile device user with a way of usage that suits the situation. New input sources, such as Application / embedded sensors producing interaction-related information, are becoming ContextContext Customizer Actionsources available for mobile devices. These input sources enable novel ways of sources interacting with the devices, and even open possibilities to create entirely new types of applications. To facilitate the full potential of utilising such Blackboard-based new input sources, a software framework is required with a uniform means Application Controller of acquiring and processing interaction-related information, and providing Context Script Activator it for the applications. The main result of this dissertation was a software Manager Engine framework and tool for facilitating the rapid development of mobile device context-aware applications. The framework provides a publish and sub- scribe mechanism, database, and a customisable application controller. For software developers the framework provides an application programming interface. The customization tool enables end-user development of interaction-related Context Context Change ContextContext ContextContext ContextContext features in mobile devices. The results have commercial value; they are framework Source Abstractor Detector sourcessources sourcessources sourcessources utilised by the telecommunication industry for application domains such as enhanced usability and personalization, novel sensor-based interaction modalities, mobile workforce, context-based security for enterprises, and context-based multimedia management. and Application layer Hot spot Server layer Frozen spot tool Producer layer for mobile device Panu Korpipää context Blackboard-based software awareness framework and tool for mobile device context awareness Tätä julkaisua myy Denna publikation säljs av This publication is available from VTT TIETOPALVELU VTT INFORMATIONSTJÄNST VTT INFORMATION SERVICE Panu PL 2000 PB 2000 P.O.Box 2000 02044 VTT 02044 VTT FI–02044 VTT, Finland Puh. 020 722 4404 Tel. 020 722 4404 Phone internat. +358 20 722 4404 Korpipää Faksi 020 722 4374 Fax 020 722 4374 Fax +358 20 722 4374 ISBN 951–38–6669–6 (soft back ed.) ISBN 951–38–6670–X (URL: http://www.vtt.fi/inf/pdf/) ISSN 1235–0621 (soft back ed.) ISSN 1455–0849 (URL: http://www.vtt.fi/inf/pdf/) VTT PUBLICATIONS 579 Blackboard-based software framework and tool for mobile device context awareness Panu Korpipää VTT Electronics Academic dissertation for the degree of Doctor of Science in Technology, to be presented with the assent of the Faculty of Technology, University of Oulu, for public discussion in Auditorium IT115, Linnanmaa, on November 25th, 2005, at 12 noon. ISBN 951–38–6669–6 (soft back ed.) ISSN 1235–0621 (soft back ed.) ISBN 951–38–6670–X (URL: http://www.vtt.fi/inf/pdf/) ISSN 1455–0849 (URL: http://www.vtt.fi/inf/pdf/) Copyright © VTT Technical Research Centre of Finland 2005 JULKAISIJA – UTGIVARE – PUBLISHER VTT, Vuorimiehentie 5, PL 2000, 02044 VTT puh. vaihde 020 722 111, faksi 020 722 4374 VTT, Bergsmansvägen 5, PB 2000, 02044 VTT tel. växel 020 722 111, fax 020 722 4374 VTT Technical Research Centre of Finland, Vuorimiehentie 5, P.O.Box 2000, FI–02044 VTT, Finland phone internat. +358 20 722 111, fax + 358 20 722 4374 VTT Elektroniikka, Kaitoväylä 1, PL 1100, 90571 OULU puh. vaihde 020 722 111, faksi 020 722 2320 VTT Elektronik, Kaitoväylä 1, PB 1100, 90571 ULEÅBORG tel. växel 020 722 111, fax 020 722 2320 VTT Electronics, Kaitoväylä 1, P.O.Box 1100, FI–90571 OULU, Finland phone internat. +358 20 722 111, fax +358 20 722 2320 Supervised by Professor Tapio Seppänen, University of Oulu Reviewed by Professor Martti Mäntylä, University of Helsinki Professor Tommi Mikkonen, University of Tampere Opponents Professor Martti Mäntylä, University of Helsinki Professor Albrecht Schmidt, University of Münich Technical editing Leena Ukskoski Otamedia Oy, Espoo 2005 Korpipää, Panu. Blackboard-based software framework and tool for mobile device context awareness. Espoo 2005. VTT Publications 579. 225 p. Keywords mobile computing, context-aware computing, mobile interaction, mobile context awareness, application control, blackboard-based architecture, software framework, context management, information model, application programming interface, sensor- based interaction, customization, end-user development, personalization Abstract The usage needs of a mobile device vary according to context. Mobile context awareness research aims at providing the device user with a way of usage that suits the situation. Interaction based on context requires acquiring, abstracting and delivering information from multiple sources, such as sensors, to the application or application control. A generic software framework and tool for facilitating the rapid development of mobile device context-aware applications were developed in this work. The blackboard-based framework supports all tasks that are required for context-based application control, where contexts can be any events that are relevant to user interaction with the application, including explicit inputs. The core component of the framework, Context Manager, provides a publish and subscribe mechanism and a database for the applications and application control. The framework provides an application programming interface (API) for developers. As a higher abstraction-level programming interface, a customization tool enables easy end-user development of context- aware features into existing applications without changing them. An extensible ontology is used as a uniform context representation within the framework. The purpose of the ontology, together with the API, is to enable easy access, use and reuse of human-understandable context information. Context information sources, such as sensors, often produce a continuous stream of low abstraction-level data. The framework supports the transformation of a continuous data stream into abstracted context events, described in the ontology. Context information is delivered to applications or application control as abstracted events. The main result of the dissertation is a software framework, ontology and tool, which facilitate the customization of sensor-based human- computer interaction in mobile devices. The practical applicability, scope, and computational efficiency of the implemented framework and customization tool are evaluated with performance measurements and multiple applications implemented in a mobile phone with real sensor sources. 3 Preface This is an academic dissertation for the degree Doctor of Science in Technology from the University of Oulu, Faculty of Technology. The dissertation supervisor was Professor Tapio Seppänen from the University of Oulu. The appointed reviewers of the dissertation were Professor Tommi Mikkonen from the Technical University of Tampere and Martti Mäntylä from the University of Helsinki, Helsinki Institute of Information Technology. The received professional scientific feedback is gratefully acknowledged. The work for the dissertation was carried out at VTT Electronics, Oulu, Finland during the years 2000–2005. The work was funded for the most part by Nokia through VTT project funding. Science is teamwork. In the team of contributors for this dissertation, the first man to acknowledge, especially regarding scientific visibility, is Dr. Jani Mäntyjärvi. He frequently suggested publishing and forums for the scientific contributions, and co-authored multiple articles related to this dissertation. I wish to thank Juha Kela for significant participation in the architecture design and development process and for co-authoring articles; co-authors Heikki Keränen, Esko-Juhani Malm, Tapani Rantakokko and Vesa Kyllönen all had a professional iron grip on implementing and developing the designs; Professor Heikki Ailisto for commenting on the first version of the dissertation; and other colleagues at VTT and University of Oulu for their support. Thanks to the supervisor of the dissertation work, Professor Tapio Seppänen, are in order for insightful guidance and constructive scientific criticism in formulating the dissertation, and for co-authoring an article. I am much obliged to Dr. Pertti Huuskonen, Urpo Tuomela, Ilkka Känsälä and Jonna Häkkilä for advocating the Nokia funding for the work over many years, outlining the leading directions and co-authoring articles – and many other colleagues from Nokia for their support. Thanks to Heikki Huomo from Nokia NVO for long-term backing of context-awareness research and valuable co- operation in the process of deploying the results into the industry. Furthermore, I would like to acknowledge the contributions of Johannes Peltola, Miika Koskinen, Satu-Marja Mäkelä, Sami Ronkainen, Johan Himberg, Heikki 4 Mannila, and Ilkka Salminen as co-authors of the articles related to this dissertation. The scholarships granted by the HPY foundation and the Seppo Säynäjäkangas science foundation are gratefully acknowledged. To end the preface, I would like to quote a thought from a great scientist: “If we knew what it was we were doing, it would not be called research, would it?” – Albert Einstein, 1879–1955 Oulu, October 2005 Panu Korpipää 5 Contents Abstract................................................................................................................. 3 Preface .................................................................................................................
Recommended publications
  • Ioc Containers in Spring
    301AA - Advanced Programming Lecturer: Andrea Corradini [email protected] http://pages.di.unipi.it/corradini/ AP-2018-11: Frameworks and Inversion of Control Frameworks and Inversion of Control • Recap: JavaBeans as Components • Frameworks, Component Frameworks and their features • Frameworks vs IDEs • Inversion of Control and Containers • Frameworks vs Libraries • Decoupling Components • Dependency Injection • IoC Containers in Spring 2 Components: a recap A software component is a unit of composition with contractually specified interfaces and explicit context dependencies only. A software component can be deployed independently and is subject to composition by third party. Clemens Szyperski, ECOOP 1996 • Examples: Java Beans, CLR Assemblies • Contractually specified interfaces: events, methods and properties • Explicit context dependencies: serializable, constructor with no argument • Subject to composition: connection to other beans – Using connection oriented programming (event source and listeners/delegates) 3 Towards Component Frameworks • Software Framework: A collection of common code providing generic functionality that can be selectively overridden or specialized by user code providing specific functionality • Application Framework: A software framework used to implement the standard structure of an application for a specific development environment. • Examples: – GUI Frameworks – Web Frameworks – Concurrency Frameworks 4 Examples of Frameworks Web Application Frameworks GUI Toolkits 5 Examples: General Software Frameworks – .NET – Windows platform. Provides language interoperability – Android SDK – Supports development of apps in Java (but does not use a JVM!) – Cocoa – Apple’s native OO API for macOS. Includes C standard library and the Objective-C runtime. – Eclipse – Cross-platform, easily extensible IDE with plugins 6 Examples: GUI Frameworks • Frameworks for Application with GUI – MFC - Microsoft Foundation Class Library.
    [Show full text]
  • Executable Formal Specifications in Game Development
    TIMO NUMMENMAA Executable Formal Specifications in Game Development Design, Validation and Evolution ACADEMIC DISSERTATION To be presented, with the permission of the Board of the School of Information Sciences of the University of Tampere, for public discussion in the Auditorium A1 of the Main Building, Kalevantie 4, Tampere, on November 30th, 2013, at 12 o’clock. UNIVERSITY OF TAMPERE ACADEMIC DISSERTATION University of Tampere, School of Information Sciences Finland Copyright ©2013 Tampere University Press and the author Cover design by Mikko Reinikka Acta Universitatis Tamperensis 1875 Acta Electronica Universitatis Tamperensis 1356 ISBN 978-951-44-9275-4 (print) ISBN 978-951-44-9276-1 (pdf) ISSN-L 1455-1616 ISSN 1456-954X ISSN 1455-1616 http://tampub.uta.fi Suomen Yliopistopaino Oy – Juvenes Print Tampere 2013 Abstract Games provide players with enjoyment, escapism, unique experiences and even a way to socialise. Software based games played on electronic devices such as computers and games consoles are a huge business that is still growing. New games are con- tinually developed as demand for these digital games is high. Digital games are often complex and have high requirements for quality. The complexity is especially ap- parent in complex multiplayer games and games that are constantly evolving. This complexity can be problematic in various stages of development. For example, under- standing if a design of a game works as intended can be difficult. Managing changes that need to be made to a game during its lifetime, even after its initial release, is also challenging from both a design and an implementation standpoint. In this thesis these problems are addressed by presenting a method of utilising formal methods for simulations of game designs as a way of development, commu- nication, documentation and design.
    [Show full text]
  • Answer Set Programming
    ANSWER SET PROGRAMMING Tran Cao Son Department of Computer Science New Mexico State University Las Cruces, NM 88011, USA [email protected] http://www.cs.nmsu.edu/~tson October 2005 Answer Set Programming. Acknowledgement This tutorial contains some materials from tutorials on answer set programming and on knowledge representation and logic programming from those provided by • Chitta Baral, available at www.public.asu.edu/~cbaral. • Michael Gelfond, available at www.cs.ttu.ued/~mgelfond. Tran Cao Son 1 Answer Set Programming. Introduction — Answer Set Programming Answer set programming is a new programming paradigm. It is introduced in the late 90’s and manages to attracts the intention of different groups of researchers thanks to its: • declarativeness: programs do not specify how answers are computed; • modularity: programs can be developed incrementally; • expressiveness: answer set programming can be used to solve problems in high 2 complexity classes (e.g. ΣP , Π2P , etc.) Answer set programming has been applied in several areas: reasoning about actions and changes, planning, configuration, wire routing, phylogenetic inference, semantic web, information integration, etc. Tran Cao Son 2 Answer Set Programming. Purpose • Introduce answer set programming • Provide you with some initial references, just in case • ...you get excited about answer set programming Tran Cao Son 3 Answer Set Programming. Outline • Foundation of answer set programming: logic programming with answer set semantics (syntax, semantics, early application). • Answer set programming: general ideas and examples • Application of answer set programming in – Knowledge representation – Constraint satisfaction problem – Combinatoric problems – Reasoning about action and change – Planning and diagnostic reasoning • Current issues Tran Cao Son 4 LOGIC PROGRAMMING AND ANSWER SET SEMANTICS Answer Set Programming.
    [Show full text]
  • Action Language for Foundational UML (Alf) Concrete Syntax for a UML Action Language Version 1.1 ______
    An OMG® Action Language for Foundational UML™ Publication Action Language for Foundational UML (Alf) Concrete Syntax for a UML Action Language Version 1.1 ____________________________________________________ OMG Document Number: formal/2017-07-04 Date: July 2017 Normative reference: http://www.omg.org/spec/ALF/1.1 Machine readable file(s): Normative: http://www.omg.org/spec/ALF/20170201/Alf-Syntax.xmi http://www.omg.org/spec/ALF/20170201/Alf-Library.xmi http://www.omg.org/spec/ALF/20120827/ActionLanguage-Profile.xmi ____________________________________________________ Copyright © 2010-2013 88solutions Corporation Copyright © 2013 Commissariat à l’Energie Atomique et aux Energies Alternatives (CEA) Copyright © 2010-2017 Data Access Technologies, Inc. (Model Driven Solutions) Copyright © 2010-2013 International Business Machines Copyright © 2010-2013 Mentor Graphics Corporation Copyright © 2010-2013 No Magic, Inc. Copyright © 2010-2013 Visumpoint Copyright © 2010-2017 Object Management Group USE OF SPECIFICATION - TERMS, CONDITIONS & NOTICES The material in this document details an Object Management Group specification in accordance with the terms, conditions and notices set forth below. This document does not represent a commitment to implement any portion of this specification in any company's products. The information contained in this document is subject to change without notice. LICENSES The companies listed above have granted to the Object Management Group, Inc. (OMG) a nonexclusive, royalty- free, paid up, worldwide license to copy and distribute this document and to modify this document and distribute copies of the modified version. Each of the copyright holders listed above has agreed that no person shall be deemed to have infringed the copyright in the included material of any such copyright holder by reason of having used the specification set forth herein or having conformed any computer software to the specification.
    [Show full text]
  • Planning in Action Language BC While Learning Action Costs for Mobile Robots
    Planning in Action Language BC while Learning Action Costs for Mobile Robots Piyush Khandelwal, Fangkai Yang, Matteo Leonetti, Vladimir Lifschitz and Peter Stone Department of Computer Science The University of Texas at Austin 2317 Speedway, Stop D9500 Austin, TX 78712, USA fpiyushk,fkyang,matteo,vl,[email protected] Abstract 1999). Furthermore, the action language BC (Lee, Lifschitz, and Yang 2013) can easily formalize recursively defined flu- The action language BC provides an elegant way of for- ents, which can be useful in robot task planning. malizing dynamic domains which involve indirect ef- fects of actions and recursively defined fluents. In com- The main contribution of this paper is a demonstration plex robot task planning domains, it may be necessary that the action language BC can be used for robot task for robots to plan with incomplete information, and rea- planning in realistic domains, that require planning in the son about indirect or recursive action effects. In this presence of missing information and indirect action effects. paper, we demonstrate how BC can be used for robot These features are necessary to completely describe many task planning to solve these issues. Additionally, action complex tasks. For instance, in a task where a robot has to costs are incorporated with planning to produce opti- collect mail intended for delivery from all building residents, mal plans, and we estimate these costs from experience the robot may need to visit a person whose location it does making planning adaptive. This paper presents the first not know. To overcome this problem, it can plan to complete application of BC on a real robot in a realistic domain, its task by asking someone else for that person’s location, which involves human-robot interaction for knowledge acquisition, optimal plan generation to minimize navi- thereby acquiring this missing information.
    [Show full text]
  • REBA: a Refinement-Based Architecture for Knowledge Representation and Reasoning in Robotics
    Journal of Artificial Intelligence Research 65 (2019) 1-94 Submitted 10/2018; published 04/2019 REBA: A Refinement-Based Architecture for Knowledge Representation and Reasoning in Robotics Mohan Sridharan [email protected] School of Computer Science University of Birmingham, UK Michael Gelfond [email protected] Department of Computer Science Texas Tech University, USA Shiqi Zhang [email protected] Department of Computer Science SUNY Binghamton, USA Jeremy Wyatt [email protected] School of Computer Science University of Birmingham, UK Abstract This article describes REBA, a knowledge representation and reasoning architecture for robots that is based on tightly-coupled transition diagrams of the domain at two different levels of granu- larity. An action language is extended to support non-boolean fluents and non-deterministic causal laws, and used to describe the transition diagrams, with the domain’s fine-resolution transition diagram being defined as a refinement of the coarse-resolution transition diagram. The coarse- resolution system description, and a history that includes prioritized defaults, are translated into an Answer Set Prolog (ASP) program. For any given goal, inference in the ASP program provides a plan of abstract actions. To implement each such abstract action, the robot automatically zooms to the part of the fine-resolution transition diagram relevant to this action. A probabilistic representa- tion of the uncertainty in sensing and actuation is then included in this zoomed fine-resolution sys- tem description, and used to construct a partially observable Markov decision process (POMDP). The policy obtained by solving the POMDP is invoked repeatedly to implement the abstract ac- tion as a sequence of concrete actions, with the corresponding observations being recorded in the coarse-resolution history and used for subsequent coarse-resolution reasoning.
    [Show full text]
  • Evolution and Composition of Object-Oriented Frameworks
    Evolution and Composition of Object-Oriented Frameworks Michael Mattsson University of Karlskrona/Ronneby Department of Software Engineering and Computer Science ISBN 91-628-3856-3 © Michael Mattsson, 2000 Cover background: Digital imagery® copyright 1999 PhotoDisc, Inc. Printed in Sweden Kaserntryckeriet AB Karlskrona, 2000 To Nisse, my father-in-law - who never had the opportunity to study as much as he would have liked to This thesis is submitted to the Faculty of Technology, University of Karlskrona/Ronneby, in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Engineering. Contact Information: Michael Mattsson Department of Software Engineering and Computer Science University of Karlskrona/Ronneby Soft Center SE-372 25 RONNEBY SWEDEN Tel.: +46 457 38 50 00 Fax.: +46 457 27 125 Email: [email protected] URL: http://www.ipd.hk-r.se/rise Abstract This thesis comprises studies of evolution and composition of object-oriented frameworks, a certain kind of reusable asset. An object-oriented framework is a set of classes that embodies an abstract design for solutions to a family of related prob- lems. The work presented is based on and has its origin in industrial contexts where object-oriented frameworks have been developed, used, evolved and managed. Thus, the results are based on empirical observations. Both qualitative and quanti- tative approaches have been used in the studies performed which cover both tech- nical and managerial aspects of object-oriented framework technology. Historically, object-oriented frameworks are large monolithic assets which require several design iterations and are therefore costly to develop. With the requirement of building larger applications, software engineers have started to compose multiple frameworks, thereby encountering a number of problems.
    [Show full text]
  • Software Development a Practical Approach!
    Software Development A Practical Approach! Hans-Petter Halvorsen https://www.halvorsen.blog https://halvorsen.blog Software Development A Practical Approach! Hans-Petter Halvorsen Software Development A Practical Approach! Hans-Petter Halvorsen Copyright © 2020 ISBN: 978-82-691106-0-9 Publisher Identifier: 978-82-691106 https://halvorsen.blog ii Preface The main goal with this document: • To give you an overview of what software engineering is • To take you beyond programming to engineering software What is Software Development? It is a complex process to develop modern and professional software today. This document tries to give a brief overview of Software Development. This document tries to focus on a practical approach regarding Software Development. So why do we need System Engineering? Here are some key factors: • Understand Customer Requirements o What does the customer needs (because they may not know it!) o Transform Customer requirements into working software • Planning o How do we reach our goals? o Will we finish within deadline? o Resources o What can go wrong? • Implementation o What kind of platforms and architecture should be used? o Split your work into manageable pieces iii • Quality and Performance o Make sure the software fulfills the customers’ needs We will learn how to build good (i.e. high quality) software, which includes: • Requirements Specification • Technical Design • Good User Experience (UX) • Improved Code Quality and Implementation • Testing • System Documentation • User Documentation • etc. You will find additional resources on this web page: http://www.halvorsen.blog/documents/programming/software_engineering/ iv Information about the author: Hans-Petter Halvorsen The author currently works at the University of South-Eastern Norway.
    [Show full text]
  • Everyware Software Framework
    Device Application Framework Everyware Software Framework • Quickly develop your application using M2M/IoT Java packages and services • Build solid, secure, network-centric embedded devices leveraging field proven networking services • Remotely configure and upgrade your application throughout its lifecycle • Take advantage of a solid queuing system for back-end connectivity • Bring your product to market quickly and deterministically while reducing efforts and risks FEATURES Eurotech Everyware Software Framework (ESF) is a device application framework specialized to build machine-to-machine (M2M) or Internet of Things (IoT) applications. ESF provides a highly cost-effective, flexible and IT- oriented framework to build the new generation of connected, smart devices and applications. ESF enables developers to concentrate on the application by providing a set of field proven M2M/IoT building blocks like: • Device abstraction: provides a complete Java consistent software abstraction across all the hardware interfaces like WiFi, Cellular, GPS, Serial, USBs, CAN ports, Digital I/Os, Analog I/Os… • Security: Provides a full set of security features across all layers of the framework (gateway middleware): Authentication, certificate management , secure execution environment, signed bundles, encrypted messaging and firewall. • Gateway basic service: offers ready to use services like time synchronization, serial port configuration, application monitoring, cellular management, Ethernet management… • Network configuration: IP, DHCP, NAT, NTP, and Firewall are just some of the networking services that can be easily configured. • Connectivity and Delivery: default services include sophisticated queuing, always-on connection and self-restoring of the connection. • Field protocols: field-tested industrial, transportation and healthcare protocols are available through Java APIs. Support for custom protocols design.
    [Show full text]
  • Agent-Based Modeling with the JABM Toolkit
    Noname manuscript No. (will be inserted by the editor) Agent-Based Modeling with the JABM Toolkit Steve Phelps Centre for Computational Finance and Economic Agents (CCFEA) [email protected] the date of receipt and acceptance should be inserted later Abstract In many areas of science, agent-based models have become increasingly important. These models are often sufficiently complex that deriving closed-form solutions for quantitative aspects of their macroscopic behaviour is often impracti- cal if not impossible, and hence they are often analysed using discrete-event simu- lation and Monte-Carlo methods. In this paper we give an overview of agent-based modeling with an emphasis on its application to multi-agent systems research, and show how a software design pattern called \dependency injection" can be used to implement highly configurable simulation models which are able to incorporate various assumptions about agents' rationality and learning. We then show how these ideas have been implemented in the Java Agent-Based Modelling (JABM) toolkit | an open-source framework for building agent-based models. 1 Introduction In this paper we describe practical aspects of developing agent-based simulation models with particular emphasis on agent-based computational economics and work carried out within the trading-agent design and analysis community. We introduce a new software framework for building agent-based models | the Java Agent Based Modeling (JABM) toolkit1. Work on JABM arose out of an earlier project | Java Auction Simulator API (JASA)2 | which was designed as a toolkit for performing experiments in Agent-based Computational Economics (ACE)3 and was subsequently used as the basis of the JCAT software used to run the CAT tournament which is part of the Trading Agent Competition (Cai et al, 2009).
    [Show full text]
  • PDF Hosted at the Radboud Repository of the Radboud University Nijmegen
    PDF hosted at the Radboud Repository of the Radboud University Nijmegen The following full text is a publisher's version. For additional information about this publication click this link. http://hdl.handle.net/2066/181589 Please be advised that this information was generated on 2021-10-05 and may be subject to change. A Cocktail of Tools Domain-Specific Languages for Task-Oriented Software Development Jurriën Stutterheim ACocktailofTools Domain-Specific Languages for Task-Oriented Software Development Proefschrift ter verkrijging van de graad van doctor aan de Radboud Universiteit Nijmegen op gezag van de rector magnificus prof. dr. J.H.J.M. van Krieken, volgens besluit van het college van decanen in het openbaar te verdedigen op vrijdag 17 november 2017 om 10:30 uur precies door Jurri¨en Stutterheim geboren op 2 december 1985 te Middelburg Promotor: Prof. dr. ir. M.J. Plasmeijer Copromotoren: Dr. P.M. Achten Dr. J.M. Jansen (Nederlandse Defensie Academie, Den Helder) Manuscriptcommissie: Prof. dr. R.T.W. Hinze Prof. dr. S.D. Swierstra (Universiteit Utrecht) Prof. dr. S.B. Scholz (Heriot-Watt University, Edinburgh, Schotland) Dit onderzoek, met uitzondering van hoofdstuk 2, is ge- financieerd door de Nederlandse Defensie Academie en TNO via het TNO Defensie Onderzoek AIO programma. ISBN: 978-94-92380-74-6 CONTENTS Contents 1 Introduction 1 1.1 Embedded Domain-Specific Languages . 3 1.2 Task-Oriented Programming with iTasks . 4 1.3 Blueprints................................ 4 1.3.1 StaticBlueprints ........................ 5 1.3.2 DynamicBlueprints . 6 1.3.3 GeneralisingBlueprints . 7 1.4 ThesisOutline ............................. 8 2 Building JavaScript Applications with Haskell 11 2.1 Introduction..............................
    [Show full text]
  • Action Language BC: Preliminary Report
    Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Action Language BC: Preliminary Report Joohyung Lee1, Vladimir Lifschitz2 and Fangkai Yang2 1School of Computing, Informatics and Decision Systems Engineering, Arizona State University [email protected] 2 Department of Computer Science, Univeristy of Texas at Austin fvl,[email protected] Abstract solves the frame problem by incorporating the commonsense law of inertia in its semantics, which makes it difficult to talk The action description languages B and C have sig- about fluents whose behavior is described by defaults other nificant common core. Nevertheless, some expres- than inertia. The position of a moving pendulum, for in- sive possibilities of B are difficult or impossible to stance, is a non-inertial fluent: it changes by itself, and an simulate in C, and the other way around. The main action is required to prevent the pendulum from moving. The advantage of B is that it allows the user to give amount of liquid in a leaking container changes by itself, and Prolog-style recursive definitions, which is impor- an action is required to prevent it from decreasing. A spring- tant in applications. On the other hand, B solves loaded door closes by itself, and an action is required to keep the frame problem by incorporating the common- it open. Work on the action language C and its extension C+ sense law of inertia in its semantics, which makes was partly motivated by examples of this kind. In these lan- it difficult to talk about fluents whose behavior is guages, the inertia assumption is expressed by axioms that the described by defaults other than inertia.
    [Show full text]