Separating Product Variance and Domain Concepts in the Specification of Software Product Lines

Size: px
Start display at page:

Download "Separating Product Variance and Domain Concepts in the Specification of Software Product Lines"

Transcription

1 Separating Product Variance and Domain Concepts in the Specification of Software Product Lines Pertti Kellomäki Software Systems Laboratory, Tampere University of Technology P.O. Box 553, FIN Tampere, Finland Tommi Mikkonen Nokia Mobile Phones, Tieteenkatu 1, FIN Tampere, Finland Abstract Software design aims at a mapping from domain concepts to an implementation. Abstractions that are not highlighted in the implementation structure often exist only in the minds of the developers during development. While this works reasonably well for single-purpose systems, software product lines, i.e., systems built by reusing the same core functionality, require explicit presence of several types of abstractions. In particular, the relation between the implementation and underlying domain concepts, and product variance must both be mastered in parallel. In this paper, we will discuss these dimensions of concern, and introduce a way to manage them in software product lines with logical layers. The principal idea is to superimpose different aspects rather than partition the system into straightforward implementation components in the specification phase. Keywords: Software product lines, superposition, logical layers 1. Introduction Software design aims at a mapping from domain concepts to an implementation. Each step in the mapping transforms some abstractions into a less complex form, and finally the design becomes a description that can be interpreted by the underlying hardware. Some of the steps can be automated with compilers, whereas some require human intelligence. As software is immensely flexible, the part that cannot be automated is the partitioning of the system into components that will be highlighted in the system architecture. Rest of the properties are embedded in these components. Based on the above, software systems constitute two sets of abstractions, primitive and non-primitive ones. The primitive ones always have a direct mapping to their implementations, whereas non-primitive abstractions never have straightforward implementation mapping. Current design practices place the emphasis on finding the right primitive abstractions, and neglect non-primitive abstractions embedded in them. While approaches like the statecharts of 'floating nature' [1] and the modeling of a distributed state as an abstract object [5] have been proposed, mainstream specification approaches provide no universally acknowledged way to include abstractions distributed in multiple implementation components in designs.

2 The software product line approach relies on the reuse of common core functionalities in several products. In such systems, there are two main dimensions of concerns for abstractions: the relation of different products, and the relation of domain concepts and implementation for product evaluation. Specification of a product line such that it reflects both dimensions with primitive abstractions is hard at best and impossible at worst. In this paper, we discuss the specification of product lines from the viewpoint of the above concerns. The rest of this paper is structured as follows. Section 2 discusses software product lines, and the dimensions of concerns in them. Section 3 introduces the notion of logical layers, a way to support separation of concern in software product lines. Section 4 sketches a product line for ing devices, and Section 5 concludes the paper. 2. Separation of Concerns in Product Lines The software product line approach aims at more efficient software development. The principal idea is to first implement core functionality common for all the products, and then introduce product-sensitive parts on top of the core. In practice, this can be understood such that the core introduces business logic for the whole product line, like that the line is intended for ing systems. Different products then refine the business logic into product-sensitive forms by defining different reasons for triggering an, or by providing different user interfaces, like a network GUI or hardware buttons, for instance. In current practices, product lines are typically based on a single implementation architecture given for the common parts. Product variance can then be handled with programming-level mechanisms, like inheritance, resulting in new types or classes for different products, or with callbacks that make the core system activate productdependant procedures, for instance. With such an approach to product line specification, variance is the key design driver for primitive abstractions, and domain abstractions become non-primitive ones. What often happens in practice is, that the core architecture actually becomes the domain for product design. Then, diverging architecture options are hard to take into account even if full complexity of the core is needed for the top-of-the-line products only. The alternative solution is to start from domain concepts. This can be achieved with a layered architecture, for instance. Then, the design can reflect domain abstractions in a fashion where higher-level abstractions rely on services offered by lower-level ones. With this approach, product variance becomes a non-primitive abstraction, resulting in poor support for mastering it. Further, potential performance problems have been associated with layering in general, because the handling of behavioral aspects at the corresponding level of abstraction often results in overhead. 3. Introducing Logical Layers Superposition (or superimposition) supports separation of concern in logical rather than implementation sense [2]. A module applying superposition can be considered as a program slice [10], with the exception that here the slices are used to construct new systems, not to decompose existing ones. With superposition, an early partitioning to implementation components and the definition of their implementable interfaces, which have been found to harden reasoning [7], are not the primary design goal. Instead, the

3 focus can be placed on different concerns one at a time to support validation and verification. For instance, separation of correctness of computation and termination of the computation is a traditional application area of superposition. We will refer to each step applying superposition as a logical layer in the system. A layer contains a set of state variables and atomic actions that alter their values. Actions can be thought operationally as execution sequences like in the DisCo approach [2], or in terms of behaviors in the sense of the temporal logic of actions [8]. A variable can only be modified by the actions given in the same layer. When combined (or conjuncted), actions in different layers can be synchronized, enabling the creation of more complex operations. In general, the combination reminds weaving in the aspect-oriented setting [3], and always preserves safety properties ("Something bad will never happen") of all component layers by construction. For liveness properties ("Something good will eventually happen"), additional considerations are needed. The use of logical layers enables modeling of product variance as follows. The core functionality of the system is constituted with a set of logical layers. Different products refine the core functionality by adding logical layers. Product variance can be handled with parallel refinements adding mutually exclusive layers, with each refinement defining particularities of one product. The other dimension of concern in the development is to support the relation of domain and implementation concepts. In the approach described in this paper, variables reflecting high-level abstractions can be omitted from an implementation, if they are given concrete implementations in terms of less abstract state variables. This results in well-defined nonprimitive abstractions. Proving the implementation mapping for non-primitive abstractions may require a lot of work even for obvious cases. There are two potential solutions to this problem. One is to use an animation tool for testing that the non-primitive abstractions are satisfied [9]. This corresponds to testing in conventional software engineering approaches, and provides adequate validation means for many non-critical applications. The other alternative is to use predefined design steps, i.e., apply a refinement step that has been already verified and validated [6]. Architectural variance is also allowed. Then, there will be mutually exclusive layers in the mapping of domain concepts to different implementations. A related approach has been given in [4], where the concept of variance patterns is introduced. In our terminology, variance patterns of [4] constitute mutually exclusive logical layers. 4. Sketched Example: Product Line for Alarming Devices In this example, we sketch a specification of a product line for ing devices. We use two different product logics, i.e., reasons for triggering an, and two implementation architectures, resulting in four products. Figure 1 illustrates the structure of the specification. In the figure, boxes denote logical layers, and arrows refinement relations needed for composing specifications. Dashed lines indicate different categories of layers discussed in detail in the following. Four main categories of logical layers can be identified. Core functionality layers introduce domain concepts of the system, including issues like turning the device on and

4 Core layers Core functionality Architecture layers architecture architecture Product variance layers Product layers Figure 1. Dimensions of concern in the structure of a layer-based specification off and triggering and cancellation of an for instance. However, implementation details of these events remain non-deterministic, because the rationale for operations may vary depending on the product. Architecture layers provide implementation architecture for the core. In these layers, we introduce how s are indicated in different implementations, and define different implementation mappings for non-primitive abstractions. Product variance layers introduce ing logics for different products. In practice, this covers the definition an ing function for different products. Product layers, obtained by combining the branches addressing different dimensions of concern, are complete product descriptions. As already discussed above, safety properties introduced in different branches are satisfied by construction. 5. Conclusions Software product lines need to support two main dimensions of concern. One dimension places the focus on product variance, and results in an architecture that provides enhanced support for composing different products. The other dimension is domain-driven. There, the goal is the option to trace domain concepts to implementations in a verifiable fashion.

5 Support must be provided for abstractions reside in the core functionality, in productdependant parts, and for those that are shared between the two. As mainstream software engineering approaches solely focus on primitive abstractions explicitly included in implementation architecture, satisfaction of both of these dimensions is hard. In practice, this is reflected in the required experience on implementing several line products prior to the establishment of the product line. We argue that in order to utilize dimensions of concerns discussed in this paper at an abstract level, we need a specification approach that supports parallel design and evolution of both product variance and domain concepts. References [1] Awad, M. and Ziegler, J. A practical approach to object-oriented state modeling. Software Practice and Experience, 27(3): , March [2] Järvinen, H.-M., Kurki-Suonio, R., Sakkinen, M., and Systä, K. Object-oriented specification of reactive systems. Proc. 12 th International Conference on Software Engineering, 63-71, IEEE Computer Society Press, [3] Katz, S. and Gil, J. Aspects and Superimpositions. Position paper at ECOOP'99 AOP workshop, Lisbon, Portugal, June 14, [4] Keepence, B. and Mannion, M. Using patterns to model variability in product families. IEEE Software, , July/August [5] Kellomäki, P. and Mikkonen, T. Modeling distributed state as an abstract object. Distributed and Parallel Embedded Systems, (Ed. F. J. Rammig), , Kluwer Academic Publishers, [6] Kellomäki, P. and Mikkonen, T. Design templates for collective behaviors. Accepted to ECOOP'00, to appear. [7] Lamport, L. Composition: A way to make proofs harder. Digital Systems Research Center, Technical Note a, December [8] Lamport, L. The temporal logic of actions. ACM transactions on programming languages and systems, 16(3): , May [9] Systä, K. A graphical tool for specification of reactive systems. Proc. Euromicro'91 Workshop on Real-Time Systems, 12-19, IEEE Computer Society Press, June [10] Weiser, M. Program slicing. IEEE Transactions on Software Engineering, 10(4): , 1984.

On the Horizontal Dimension of Software Architecture in Formal Specifications of Reactive Systems

On the Horizontal Dimension of Software Architecture in Formal Specifications of Reactive Systems On the Horizontal Dimension of Software Architecture in Formal Specifications of Reactive Systems Mika Katara Institute of Software Systems Tampere University of Technology P.O. Box 553, FIN-33101 Tampere,

More information

In this paper we describe some aspects of a theory that gives a simple basis for operational models of reactive systems. It allows rigorous reasoning

In this paper we describe some aspects of a theory that gives a simple basis for operational models of reactive systems. It allows rigorous reasoning Real Time in a TLA-Based Theory of Reactive Systems Reino Kurki-Suonio and Mika Katara Software Systems Laboratory Tampere University of Technology P.O. Box 553, FIN-33101 Tampere, Finland e-mail: freino.kurki-suonio,

More information

Scenario-based Synthesis of Annotated Class Diagrams in UML

Scenario-based Synthesis of Annotated Class Diagrams in UML Scenario-based Synthesis of Annotated Class Diagrams in UML Petri Selonen and Tarja Systä Tampere University of Technology, Software Systems Laboratory, P.O.Box 553, FIN-33101 Tampere, Finland {pselonen,tsysta}@cs.tut.fi

More information

Design Templates for Collective Behavior

Design Templates for Collective Behavior Design Templates for Collective Behavior Pertti Kellomäki 1 and Tommi Mikkonen 2 1 Software Systems Laboratory, Tampere University of Technology, P.O Box 553, FIN-33101 Tampere, Finland pk@cs.tut.fi 2

More information

UML Profile for MARTE: Time Model and CCSL

UML Profile for MARTE: Time Model and CCSL UML Profile for MARTE: Time Model and CCSL Frédéric Mallet 1 Université Nice Sophia Antipolis, Aoste team INRIA/I3S, Sophia Antipolis, France Frederic.Mallet@unice.fr Abstract. This 90 minutes tutorial

More information

RTC: Language Support for Real-Time Concurrency

RTC: Language Support for Real-Time Concurrency RTC: Language Support for Real-Time Concurrency Insup Lee, Susan Davidson, and Victor Wolfe 1 Introduction The RTC (Real-Time Concurrency) programming concepts and language constructs for expressing timing

More information

FROM TIME-TRIGGERED TO TIME-DETERMINISTIC REAL-TIME SYSTEMS

FROM TIME-TRIGGERED TO TIME-DETERMINISTIC REAL-TIME SYSTEMS FROM TIME-TRIGGERED TO TIME-DETERMINISTIC REAL-TIME SYSTEMS Peter Puschner and Raimund Kirner Vienna University of Technology, A-1040 Vienna, Austria {peter, raimund}@vmars.tuwien.ac.at Abstract Keywords:

More information

Distributed Systems Programming (F21DS1) Formal Verification

Distributed Systems Programming (F21DS1) Formal Verification Distributed Systems Programming (F21DS1) Formal Verification Andrew Ireland Department of Computer Science School of Mathematical and Computer Sciences Heriot-Watt University Edinburgh Overview Focus on

More information

Formal Methods in Software Engineering. Lecture 07

Formal Methods in Software Engineering. Lecture 07 Formal Methods in Software Engineering Lecture 07 What is Temporal Logic? Objective: We describe temporal aspects of formal methods to model and specify concurrent systems and verify their correctness

More information

UML-based Tool Support for Separating Application and Architectural Evolution

UML-based Tool Support for Separating Application and Architectural Evolution UML-based Tool Support for Separating Application and Architectural Evolution Tommi Mikkonen and Mika Pussinen Institute of Software Systems Tampere University of Technology P.O. Box 553, FIN-33101 Tampere,

More information

How useful is the UML profile SPT without Semantics? 1

How useful is the UML profile SPT without Semantics? 1 How useful is the UML profile SPT without Semantics? 1 Susanne Graf, Ileana Ober VERIMAG 2, avenue de Vignate - F-38610 Gières - France e-mail:{susanne.graf, Ileana.Ober}@imag.fr http://www-verimag.imag.fr/~{graf,iober}

More information

On the Structure of a Software Product-Line for Mobile Software

On the Structure of a Software Product-Line for Mobile Software On the Structure of a Software -Line for Mobile Software Tommi Myllymäki, Kai Koskimies, and Tommi Mikkonen Institute of Software Systems, Tampere University of Technology Box 553, FIN-33101 Tampere, Finland

More information

Model Checking Applications of Aspects and Superimpositions

Model Checking Applications of Aspects and Superimpositions Model Checking Applications of Aspects and Superimpositions Marcelo Sihman and Shmuel Katz Department of Computer Science Technion - Israel Institute of Technology Haifa 32000, Israel {sihman, katz@cs.technion.ac.il

More information

An Approach to the Generation of High-Assurance Java Card Applets

An Approach to the Generation of High-Assurance Java Card Applets An Approach to the Generation of High-Assurance Java Card Applets Alessandro Coglio Kestrel Institute 3260 Hillview Avenue, Palo Alto, CA 94304, USA Ph. +1-650-493-6871 Fax +1-650-424-1807 http://www.kestrel.edu/

More information

SOME TYPES AND USES OF DATA MODELS

SOME TYPES AND USES OF DATA MODELS 3 SOME TYPES AND USES OF DATA MODELS CHAPTER OUTLINE 3.1 Different Types of Data Models 23 3.1.1 Physical Data Model 24 3.1.2 Logical Data Model 24 3.1.3 Conceptual Data Model 25 3.1.4 Canonical Data Model

More information

The DisCo2000 Specification Language Annotated version

The DisCo2000 Specification Language Annotated version Tampere University of Technology Software Systems Laboratory Project DisCo O IS Hannu-Matti Järvinen The DisCo2000 Specification Language Annotated version DisCo Working Paper March 25, 2003 . Introduction

More information

Compositional Schedulability Analysis of Hierarchical Real-Time Systems

Compositional Schedulability Analysis of Hierarchical Real-Time Systems Compositional Schedulability Analysis of Hierarchical Real-Time Systems Arvind Easwaran, Insup Lee, Insik Shin, and Oleg Sokolsky Department of Computer and Information Science University of Pennsylvania,

More information

12 Tutorial on UML. TIMe TIMe Electronic Textbook

12 Tutorial on UML. TIMe TIMe Electronic Textbook TIMe TIMe Electronic Textbook 12 Tutorial on UML Introduction......................................................2.................................................3 Diagrams in UML..................................................3

More information

A Graphical Tool for Specification of Reactive Systems

A Graphical Tool for Specification of Reactive Systems A Graphical Tool for Specification of Reactive Systems Kari Systä Tampere University of Technology P.O.Box 527, SF-33101 Tampere, Finland e-mail: ks@tut.fi Abstract A prototype of a simulation tool with

More information

Composing Fair Objects

Composing Fair Objects Composing Fair Objects G.W. Hamilton School of Computer Applications Dublin City University Ireland hamilton@compapp.dcu.ie D. Méry Université Henri Poincaré Nancy France mery@loria.fr J.P. Gibson Department

More information

Validating UML Statechart-Based Assertions Libraries for Improved Reliability and Assurance 1

Validating UML Statechart-Based Assertions Libraries for Improved Reliability and Assurance 1 The Second International Conference on Secure System Integration and Reliability Improvement Validating UML Statechart-Based Assertions Libraries for Improved Reliability and Assurance 1 Doron Drusinsky

More information

A multi-view approach for component based design

A multi-view approach for component based design CESAR - Cost-efficient methods and processes for safety relevant embedded systems A multi-view approach for component based design Odile Laurent () Eric Armengaud (VIF) ARTEMIS technology conference Budapest,

More information

AOSA - Betriebssystemkomponenten und der Aspektmoderatoransatz

AOSA - Betriebssystemkomponenten und der Aspektmoderatoransatz AOSA - Betriebssystemkomponenten und der Aspektmoderatoransatz Results obtained by researchers in the aspect-oriented programming are promoting the aim to export these ideas to whole software development

More information

A taxonomy of race. D. P. Helmbold, C. E. McDowell. September 28, University of California, Santa Cruz. Santa Cruz, CA

A taxonomy of race. D. P. Helmbold, C. E. McDowell. September 28, University of California, Santa Cruz. Santa Cruz, CA A taxonomy of race conditions. D. P. Helmbold, C. E. McDowell UCSC-CRL-94-34 September 28, 1994 Board of Studies in Computer and Information Sciences University of California, Santa Cruz Santa Cruz, CA

More information

Proving the Correctness of Distributed Algorithms using TLA

Proving the Correctness of Distributed Algorithms using TLA Proving the Correctness of Distributed Algorithms using TLA Khushboo Kanjani, khush@cs.tamu.edu, Texas A & M University 11 May 2007 Abstract This work is a summary of the Temporal Logic of Actions(TLA)

More information

Towards Reusable Heterogeneous Data-Centric Disentangled Parts

Towards Reusable Heterogeneous Data-Centric Disentangled Parts Towards Reusable Heterogeneous Data-Centric Disentangled Parts Michael Reinsch and Takuo Watanabe Department of Computer Science, Graduate School of Information Science and Technology, Tokyo Institute

More information

Open Reuse of Component Designs in OPM/Web

Open Reuse of Component Designs in OPM/Web Open Reuse of Component Designs in OPM/Web Iris Reinhartz-Berger Technion - Israel Institute of Technology ieiris@tx.technion.ac.il Dov Dori Technion - Israel Institute of Technology dori@ie.technion.ac.il

More information

Flight Systems are Cyber-Physical Systems

Flight Systems are Cyber-Physical Systems Flight Systems are Cyber-Physical Systems Dr. Christopher Landauer Software Systems Analysis Department The Aerospace Corporation Computer Science Division / Software Engineering Subdivision 08 November

More information

Have we Learned from the Vasa Disaster?

Have we Learned from the Vasa Disaster? Have we Learned from the Vasa Disaster? Jean-Raymond Abrial ETH Zurich September 19th 2006 The Vasa Disaster 1 The Story 2 - August 10, 1628: The Swedish warship Vasa sank. - This was her maiden voyage.

More information

The DisCo Language and Temporal Logic of Actions

The DisCo Language and Temporal Logic of Actions The DisCo Language and Temporal Logic of Actions (September 1990) Hannu-Matti Järvinen and Reino Kurki-Suonio hmj@tut.fi, rks@tut.fi Tampere University of Technology Software Systems Laboratory Box 527,

More information

Journal of Universal Computer Science, vol. 7, no. 1 (2001), 3-18 submitted: 1/9/00, accepted: 13/10/00, appeared: 28/1/01 Springer Pub. Co.

Journal of Universal Computer Science, vol. 7, no. 1 (2001), 3-18 submitted: 1/9/00, accepted: 13/10/00, appeared: 28/1/01 Springer Pub. Co. Journal of Universal Computer Science, vol. 7, no. 1 (2001), 3-18 submitted: 1/9/00, accepted: 13/10/00, appeared: 28/1/01 Springer Pub. Co. DisCo Toolset The New Generation Timo Aaltonen (Tampere University

More information

A SYSTEMATIC APPROACH FOR IMPLEMEN- TATION OF HUMAN DESIGN KNOWLEDGE IN AUTOMATIC SOFTWARE DESIGN

A SYSTEMATIC APPROACH FOR IMPLEMEN- TATION OF HUMAN DESIGN KNOWLEDGE IN AUTOMATIC SOFTWARE DESIGN Japan-CIS Symposium on Knowledge-Based Software Engineering JCKBSE 94 Pereslavl-Zalesski, Russia, May 10-14 (1994 A SYSTEMATIC APPROACH FOR IMPLEMEN- TATION OF HUMAN DESIGN KNOWLEDGE IN AUTOMATIC SOFTWARE

More information

HCI in the software process

HCI in the software process chapter 6 HCI in the software process HCI in the software process Software engineering and the process for interactive systems Usability engineering Iterative and prototyping Design rationale the software

More information

HCI in the software. chapter 6. HCI in the software process. The waterfall model. the software lifecycle

HCI in the software. chapter 6. HCI in the software process. The waterfall model. the software lifecycle HCI in the software process chapter 6 HCI in the software process Software engineering and the process for interactive systems Usability engineering Iterative and prototyping Design rationale the software

More information

Design Pattern What is a Design Pattern? Design Pattern Elements. Almas Ansari Page 1

Design Pattern What is a Design Pattern? Design Pattern Elements. Almas Ansari Page 1 What is a Design Pattern? Each pattern Describes a problem which occurs over and over again in our environment,and then describes the core of the problem Novelists, playwrights and other writers rarely

More information

CHAPTER 9 DESIGN ENGINEERING. Overview

CHAPTER 9 DESIGN ENGINEERING. Overview CHAPTER 9 DESIGN ENGINEERING Overview A software design is a meaningful engineering representation of some software product that is to be built. Designers must strive to acquire a repertoire of alternative

More information

A Generic RTOS Model for Real-time Systems Simulation with SystemC

A Generic RTOS Model for Real-time Systems Simulation with SystemC A Generic RTOS Model for Real-time Systems Simulation with SystemC R. Le Moigne, O. Pasquier, J-P. Calvez Polytech, University of Nantes, France rocco.lemoigne@polytech.univ-nantes.fr Abstract The main

More information

Automatic Reconstruction of the Underlying Interaction Design of Web Applications

Automatic Reconstruction of the Underlying Interaction Design of Web Applications Automatic Reconstruction of the Underlying Interaction Design of Web Applications L.Paganelli, F.Paternò C.N.R., Pisa Via G.Moruzzi 1 {laila.paganelli, fabio.paterno}@cnuce.cnr.it ABSTRACT In this paper

More information

Human Computer Interaction Lecture 06 [ HCI in Software Process ] HCI in the software process

Human Computer Interaction Lecture 06 [ HCI in Software Process ] HCI in the software process Human Computer Interaction Lecture 06 [ HCI in Software Process ] Imran Ihsan Assistant Professor www.imranihsan.com aucs.imranihsan.com HCI06 - HCI in Software Process 1 HCI in the software process Software

More information

Analysis and Design with the Universal Design Pattern

Analysis and Design with the Universal Design Pattern Analysis and Design with the Universal Design Pattern by Koni Buhrer Software Engineering Specialist Rational Software Developing large software systems is notoriously difficult and unpredictable. Software

More information

Software Architectures

Software Architectures Software Architectures Richard N. Taylor Information and Computer Science University of California, Irvine Irvine, California 92697-3425 taylor@ics.uci.edu http://www.ics.uci.edu/~taylor +1-949-824-6429

More information

Handling Cyclic Execution Paths in Timing Analysis of Component-based Software

Handling Cyclic Execution Paths in Timing Analysis of Component-based Software Handling Cyclic Execution Paths in Timing Analysis of Component-based Software Luka Lednicki, Jan Carlson Mälardalen Real-time Research Centre Mälardalen University Västerås, Sweden Email: {luka.lednicki,

More information

The Lean Cuisine+ Notation Revised

The Lean Cuisine+ Notation Revised Res. Lett. Inf. Math. Sci., (2000) 1, 17-23 Available online at http://www.massey.ac.nz/~wwiims/rlims/ The Lean Cuisine+ Notation Revised Chris Scogings I.I.M.S., Massey University Albany Campus, Auckland,

More information

Testing! Prof. Leon Osterweil! CS 520/620! Spring 2013!

Testing! Prof. Leon Osterweil! CS 520/620! Spring 2013! Testing Prof. Leon Osterweil CS 520/620 Spring 2013 Relations and Analysis A software product consists of A collection of (types of) artifacts Related to each other by myriad Relations The relations are

More information

Inheritance (Chapter 7)

Inheritance (Chapter 7) Inheritance (Chapter 7) Prof. Dr. Wolfgang Pree Department of Computer Science University of Salzburg cs.uni-salzburg.at Inheritance the soup of the day?! Inheritance combines three aspects: inheritance

More information

SpecC Methodology for High-Level Modeling

SpecC Methodology for High-Level Modeling EDP 2002 9 th IEEE/DATC Electronic Design Processes Workshop SpecC Methodology for High-Level Modeling Rainer Dömer Daniel D. Gajski Andreas Gerstlauer Center for Embedded Computer Systems Universitiy

More information

An Approach to Task Attribute Assignment for Uniprocessor Systems

An Approach to Task Attribute Assignment for Uniprocessor Systems An Approach to ttribute Assignment for Uniprocessor Systems I. Bate and A. Burns Real-Time Systems Research Group Department of Computer Science University of York York, United Kingdom e-mail: fijb,burnsg@cs.york.ac.uk

More information

Compositional Model Based Software Development

Compositional Model Based Software Development Compositional Model Based Software Development Prof. Dr. Bernhard Rumpe http://www.se-rwth.de/ Seite 2 Our Working Groups and Topics Automotive / Robotics Autonomous driving Functional architecture Variability

More information

Introduction to Formal Methods

Introduction to Formal Methods 2008 Spring Software Special Development 1 Introduction to Formal Methods Part I : Formal Specification i JUNBEOM YOO jbyoo@knokuk.ac.kr Reference AS Specifier s Introduction to Formal lmethods Jeannette

More information

Modeling Crisis Management System With the Restricted Use Case Modeling Approach

Modeling Crisis Management System With the Restricted Use Case Modeling Approach Modeling Crisis Management System With the Restricted Use Case Modeling Approach Gong Zhang 1, Tao Yue 2, and Shaukat Ali 3 1 School of Computer Science and Engineering, Beihang University, Beijing, China

More information

HyperFrame - A Framework for Hypermedia Authoring

HyperFrame - A Framework for Hypermedia Authoring HyperFrame - A Framework for Hypermedia Authoring S. Crespo, M. F. Fontoura, C. J. P. Lucena, D. Schwabe Pontificia Universidade Católica do Rio de Janeiro - Departamento de Informática Universidade do

More information

Modeling variability with UML

Modeling variability with UML Modeling variability with UML Matthias Clauß Intershop Research Software Engineering Group Intershop, Jena Dresden University of Technology Matthias.Clauss@gmx.de Keywords: product families, domain modeling,

More information

Written Presentation: JoCaml, a Language for Concurrent Distributed and Mobile Programming

Written Presentation: JoCaml, a Language for Concurrent Distributed and Mobile Programming Written Presentation: JoCaml, a Language for Concurrent Distributed and Mobile Programming Nicolas Bettenburg 1 Universitaet des Saarlandes, D-66041 Saarbruecken, nicbet@studcs.uni-sb.de Abstract. As traditional

More information

Software Architecture and Design I

Software Architecture and Design I Software Architecture and Design I Instructor: Yongjie Zheng February 23, 2017 CS 490MT/5555 Software Methods and Tools Outline What is software architecture? Why do we need software architecture? How

More information

Concurrent Programming Method for Embedded Systems

Concurrent Programming Method for Embedded Systems Concurrent Programming Method for Embedded Systems Norbert Schramm UVA, 24000 Subotica, Serbia norbert.schramm@gmail.com Anita Sabo Polytechnical Engineering College Subotica M. Oreškovića 16, 24000 Subotica,

More information

Security for Multithreaded Programs under Cooperative Scheduling

Security for Multithreaded Programs under Cooperative Scheduling Security for Multithreaded Programs under Cooperative Scheduling Alejandro Russo and Andrei Sabelfeld Dept. of Computer Science and Engineering, Chalmers University of Technology 412 96 Göteborg, Sweden,

More information

Leslie Lamport: The Specification Language TLA +

Leslie Lamport: The Specification Language TLA + Leslie Lamport: The Specification Language TLA + This is an addendum to a chapter by Stephan Merz in the book Logics of Specification Languages by Dines Bjørner and Martin C. Henson (Springer, 2008). It

More information

Lecture Notes on Binary Decision Diagrams

Lecture Notes on Binary Decision Diagrams Lecture Notes on Binary Decision Diagrams 15-122: Principles of Imperative Computation William Lovas Notes by Frank Pfenning Lecture 25 April 21, 2011 1 Introduction In this lecture we revisit the important

More information

A Lightweight Language for Software Product Lines Architecture Description

A Lightweight Language for Software Product Lines Architecture Description A Lightweight Language for Software Product Lines Architecture Description Eduardo Silva, Ana Luisa Medeiros, Everton Cavalcante, Thais Batista DIMAp Department of Informatics and Applied Mathematics UFRN

More information

Representing Symbolic Reasoning

Representing Symbolic Reasoning Representing Symbolic Reasoning Brian Mastenbrook and Eric Berkowitz 1400 N. Roosevelt Blvd. Schaumburg, IL 60173 chandler@acm.roosevelt.edu eric@cs.roosevelt.edu Abstract Introspection is a fundamental

More information

Topics in Object-Oriented Design Patterns

Topics in Object-Oriented Design Patterns Software design Topics in Object-Oriented Design Patterns Material mainly from the book Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides; slides originally by Spiros Mancoridis;

More information

Knowledge-based authoring tools (KBATs) for graphics in documents

Knowledge-based authoring tools (KBATs) for graphics in documents Knowledge-based authoring tools (KBATs) for graphics in documents Robert P. Futrelle Biological Knowledge Laboratory College of Computer Science 161 Cullinane Hall Northeastern University Boston, MA 02115

More information

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011 CS152: Programming Languages Lecture 11 STLC Extensions and Related Topics Dan Grossman Spring 2011 Review e ::= λx. e x e e c v ::= λx. e c τ ::= int τ τ Γ ::= Γ, x : τ (λx. e) v e[v/x] e 1 e 1 e 1 e

More information

Fault Simulation. Problem and Motivation

Fault Simulation. Problem and Motivation Fault Simulation Problem and Motivation Fault Simulation Problem: Given A circuit A sequence of test vectors A fault model Determine Fault coverage Fraction (or percentage) of modeled faults detected by

More information

Introduction to Linear-Time Temporal Logic. CSE 814 Introduction to LTL

Introduction to Linear-Time Temporal Logic. CSE 814 Introduction to LTL Introduction to Linear-Time Temporal Logic CSE 814 Introduction to LTL 1 Outline Motivation for TL in general Types of properties to be expressed in TL Structures on which LTL formulas are evaluated Syntax

More information

A Meta-Model for Composition Techniques in Object-Oriented Software Development

A Meta-Model for Composition Techniques in Object-Oriented Software Development A Meta-Model for Composition Techniques in Object-Oriented Software Development Bedir Tekinerdogan Department of Computer Science University of Twente P.O. Box 217, 7500 AE Enschede, The Netherlands E-Mail:

More information

System Correctness. EEC 421/521: Software Engineering. System Correctness. The Problem at Hand. A system is correct when it meets its requirements

System Correctness. EEC 421/521: Software Engineering. System Correctness. The Problem at Hand. A system is correct when it meets its requirements System Correctness EEC 421/521: Software Engineering A Whirlwind Intro to Software Model Checking A system is correct when it meets its requirements a design without requirements cannot be right or wrong,

More information

6.001 Notes: Section 15.1

6.001 Notes: Section 15.1 6.001 Notes: Section 15.1 Slide 15.1.1 Our goal over the next few lectures is to build an interpreter, which in a very basic sense is the ultimate in programming, since doing so will allow us to define

More information

Aspect-Orientation from Design to Code

Aspect-Orientation from Design to Code Aspect-Orientation from Design to Code Iris Groher Siemens AG, CT SE 2 Otto-Hahn-Ring 6 81739 Munich, Germany groher@informatik.tu-darmstadt.de Thomas Baumgarth Siemens AG, CT SE 2 Otto-Hahn-Ring 6 81739

More information

WHAT IS SOFTWARE ARCHITECTURE?

WHAT IS SOFTWARE ARCHITECTURE? WHAT IS SOFTWARE ARCHITECTURE? Chapter Outline What Software Architecture Is and What It Isn t Architectural Structures and Views Architectural Patterns What Makes a Good Architecture? Summary 1 What is

More information

Why Consider Implementation-Level Decisions in Software Architectures?

Why Consider Implementation-Level Decisions in Software Architectures? 1. Abstract Why Consider Implementation-Level Decisions in Software Architectures? Nikunj Mehta Nenad Medvidović Marija Rakić {mehta, neno, marija}@sunset.usc.edu Department of Computer Science University

More information

Specifying Precise Use Cases with Use Case Charts

Specifying Precise Use Cases with Use Case Charts Specifying Precise Use Cases with Use Case Charts Jon Whittle Dept of Information & Software Engineering George Mason University 4400 University Drive Fairfax, VA 22030 jwhittle@ise.gmu.edu Abstract. Use

More information

XRay Views: Understanding the Internals of Classes

XRay Views: Understanding the Internals of Classes XRay Views: Understanding the Internals of Classes Gabriela Arévalo, Stéphane Ducasse, Oscar Nierstrasz Software Composition Group University of Bern (Switzerland) {arevalo, ducasse, oscar}@iam.unibe.ch

More information

Implementing GUI context-sensitive help... ECE450 Software Engineering II. Implementing GUI context-sensitive help... Context-sensitive help

Implementing GUI context-sensitive help... ECE450 Software Engineering II. Implementing GUI context-sensitive help... Context-sensitive help Implementing GUI context-sensitive help... ECE450 Software Engineering II Today: Design Patterns VIII Chain of Responsibility, Strategy, State ECE450 - Software Engineering II 1 ECE450 - Software Engineering

More information

OCL Support in MOF Repositories

OCL Support in MOF Repositories OCL Support in MOF Repositories Joachim Hoessler, Michael Soden Department of Computer Science Technical University Berlin hoessler@cs.tu-berlin.de, soden@cs.tu-berlin.de Abstract From metamodels that

More information

1 PROCESSES PROCESS CONCEPT The Process Process State Process Control Block 5

1 PROCESSES PROCESS CONCEPT The Process Process State Process Control Block 5 Process Management A process can be thought of as a program in execution. A process will need certain resources such as CPU time, memory, files, and I/O devices to accomplish its task. These resources

More information

Single-Path Programming on a Chip-Multiprocessor System

Single-Path Programming on a Chip-Multiprocessor System Single-Path Programming on a Chip-Multiprocessor System Martin Schoeberl, Peter Puschner, and Raimund Kirner Vienna University of Technology, Austria mschoebe@mail.tuwien.ac.at, {peter,raimund}@vmars.tuwien.ac.at

More information

Contents. References 43

Contents. References 43 Contents 1 Atomicity Decomposition Part 1 - Overview and Background 1 1.1 Introduction................................... 1 1.2 Overview of Atomicity Decomposition Diagram in Event-B........ 1 1.3 Event-B

More information

Human Computer Interaction Lecture 14. HCI in Software Process. HCI in the software process

Human Computer Interaction Lecture 14. HCI in Software Process. HCI in the software process Human Computer Interaction Lecture 14 HCI in Software Process HCI in the software process Software engineering and the design process for interactive systems Usability engineering Iterative design and

More information

Object-Oriented Design

Object-Oriented Design Object-Oriented Design Lecturer: Raman Ramsin Lecture 20: GoF Design Patterns Creational 1 Software Patterns Software Patterns support reuse of software architecture and design. Patterns capture the static

More information

Impact of Platform Abstractions on the Development Workflow

Impact of Platform Abstractions on the Development Workflow Impact of Platform Abstractions on the Development Workflow Johannes Pletzer, Wolfgang Pree Technical Report September 7, 2009 C. Doppler Laboratory Embedded Software Systems University of Salzburg Austria

More information

The 7 C s for Creating Living Software: A Research Perspective for Quality-Oriented Software Engineering

The 7 C s for Creating Living Software: A Research Perspective for Quality-Oriented Software Engineering Turk J Elec Engin, VOL.12, NO.2 2004, c TÜBİTAK The 7 C s for Creating Living Software: A Research Perspective for Quality-Oriented Software Engineering Mehmet AKŞİT University of Twente, Department of

More information

Parallel Programming in Distributed Systems Or Distributed Systems in Parallel Programming

Parallel Programming in Distributed Systems Or Distributed Systems in Parallel Programming Parallel Programming in Distributed Systems Or Distributed Systems in Parallel Programming Philippas Tsigas Chalmers University of Technology Computer Science and Engineering Department Philippas Tsigas

More information

Operational Semantics

Operational Semantics 15-819K: Logic Programming Lecture 4 Operational Semantics Frank Pfenning September 7, 2006 In this lecture we begin in the quest to formally capture the operational semantics in order to prove properties

More information

System-On-Chip Architecture Modeling Style Guide

System-On-Chip Architecture Modeling Style Guide Center for Embedded Computer Systems University of California, Irvine System-On-Chip Architecture Modeling Style Guide Junyu Peng Andreas Gerstlauer Rainer Dömer Daniel D. Gajski Technical Report CECS-TR-04-22

More information

BINTEST Binary Search-based Test Case Generation

BINTEST Binary Search-based Test Case Generation BINTEST Binary Search-based Test Case Generation Sami Beydeda, Volker Gruhn University of Leipzig Department of Computer Science Chair of Applied Telematics / e-business Klostergasse 3 04109 Leipzig, Germany

More information

Verification of Concurrent Programs, Part I: The Temporal Framework

Verification of Concurrent Programs, Part I: The Temporal Framework June 1981 Report. No. ~ 1 AN-U-81-836 Verification of Concurrent Programs, Part I: The Temporal Framework by Zohar MilnIla Amir Ynucli Office of Navitl Rcscarch Department of Computer Science Stanford

More information

Multi-Dimensional Separation of Concerns and IBM Hyper/J

Multi-Dimensional Separation of Concerns and IBM Hyper/J Multi-Dimensional Separation of Concerns and IBM Hyper/J Technical Research Report Barry R. Pekilis Bell Canada Software Reliability Laboratory Electrical and Computer Engineering University of Waterloo

More information

Transaction Management in EJBs: Better Separation of Concerns With AOP

Transaction Management in EJBs: Better Separation of Concerns With AOP Transaction Management in EJBs: Better Separation of Concerns With AOP Johan Fabry Vrije Universiteit Brussel, Pleinlaan 2 1050 Brussel, Belgium Johan.Fabry@vub.ac.be March 8, 2004 1 Introduction The long-term

More information

Simulation and Verification of UML-based Railway Interlocking Designs

Simulation and Verification of UML-based Railway Interlocking Designs AVoCS 200 Simulation and Verification of UML-based Railway Interlocking Designs Yuen Man Hon 1 Maik Kollmann 2 Institute of Information Systems Technical University Braunschweig 3810 Braunschweig, Germany

More information

Software Language Engineering of Architectural Viewpoints

Software Language Engineering of Architectural Viewpoints Software Language Engineering of Architectural Viewpoints Elif Demirli and Bedir Tekinerdogan Department of Computer Engineering, Bilkent University, Ankara 06800, Turkey {demirli,bedir}@cs.bilkent.edu.tr

More information

Model-based Testing Using Scenarios and Event-B Refinements

Model-based Testing Using Scenarios and Event-B Refinements Model-based Testing Using Scenarios and Event-B Refinements Qaisar A. Malik, Johan Lilius, and Linas Laibinis Åbo Akademi University, Department of Information Technologies Turku Centre for Computer Science

More information

A Top-Down Visual Approach to GUI development

A Top-Down Visual Approach to GUI development A Top-Down Visual Approach to GUI development ROSANNA CASSINO, GENNY TORTORA, MAURIZIO TUCCI, GIULIANA VITIELLO Dipartimento di Matematica e Informatica Università di Salerno Via Ponte don Melillo 84084

More information

Design Metrics for Object-Oriented Software Systems

Design Metrics for Object-Oriented Software Systems ECOOP 95 Quantitative Methods Workshop Aarhus, August 995 Design Metrics for Object-Oriented Software Systems PORTUGAL Design Metrics for Object-Oriented Software Systems Page 2 PRESENTATION OUTLINE This

More information

Cover Page. The handle holds various files of this Leiden University dissertation

Cover Page. The handle   holds various files of this Leiden University dissertation Cover Page The handle http://hdl.handle.net/1887/22891 holds various files of this Leiden University dissertation Author: Gouw, Stijn de Title: Combining monitoring with run-time assertion checking Issue

More information

Idioms for Building Software Frameworks in AspectJ

Idioms for Building Software Frameworks in AspectJ Idioms for Building Software Frameworks in AspectJ Stefan Hanenberg 1 and Arno Schmidmeier 2 1 Institute for Computer Science University of Essen, 45117 Essen, Germany shanenbe@cs.uni-essen.de 2 AspectSoft,

More information

1 Introduction. 3 Syntax

1 Introduction. 3 Syntax CS 6110 S18 Lecture 19 Typed λ-calculus 1 Introduction Type checking is a lightweight technique for proving simple properties of programs. Unlike theorem-proving techniques based on axiomatic semantics,

More information

Rapid Prototyping with APICES

Rapid Prototyping with APICES Rapid Prototyping with APICES Ansgar Bredenfeld GMD Institute for System Design Technology D-53754 Sankt Augustin, Germany bredenfeld@gmd.de http://set.gmd.de/apices APICES is a tool for very rapid development

More information

Test Case Generation According to the Binary Search Strategy

Test Case Generation According to the Binary Search Strategy Test Case Generation According to the Binary Search Strategy Sami Beydeda and Volker Gruhn University of Leipzig Department of Computer Science Chair of Applied Telematics / e-business Klostergasse 3 04109

More information

Specifying and Proving Broadcast Properties with TLA

Specifying and Proving Broadcast Properties with TLA Specifying and Proving Broadcast Properties with TLA William Hipschman Department of Computer Science The University of North Carolina at Chapel Hill Abstract Although group communication is vitally important

More information