Modeling and Reasoning about Design Patterns in Slam-Sl

Author(s):  
Angel Herranz ◽  
Juan José Moreno-Navarro

In this chapter, a formal model for Design patterns is studied. The formal specification of a Design pattern is given as a class operator that transforms a design given as a set of classes into a new design that takes into account the description and properties of the Design pattern. The operator is specified in the Slam-Sl specification language, in terms of pre and postconditions. Precondition collects properties required to apply the pattern and postcondition relates input classes and result classes encompassing most of the intent and consequences sections of the pattern. Formalization is mandatory for reasoning about Design patterns and for implementing assistant tools.

Author(s):  
Jing Dong ◽  
Paulo Alencar ◽  
Donald Cowan

This chapter introduces our approaches to formal specification of the structural and behavioral aspects of Design patterns. We investigate the logic-based formalisms in our specification methods and demonstrate the applications of these methods in examples. Our formal specifications methods not only help for rigorous, precise, and unambiguous descriptions of Design patterns, but also allow us to verify the consistencies of Design pattern applications and compositions.


Author(s):  
Dae-Kyoo Kim

This chapter describes a UML-based pattern specification language called the role-based metamodeling language (RBML), which defines the solution domain of a Design pattern in terms of roles at the metamodel level. The goal of the RBML is to support the development of precise pattern specifications that can be used for the development of pattern tools. The author describes the approach and benefits of the RBML, and demonstrates the notation for capturing various perspectives of pattern properties using the Observer, Interpreter, and Iterator patterns. The author also discusses tool support for the RBML and the future trends in pattern specification.


2013 ◽  
pp. 125-139
Author(s):  
Olfa Mosbahi ◽  
Mohamed Khalgui ◽  
Zhiwu Li

This chapter proposes an approach for reusing specification patterns for the development of automated systems composed of two components: the controller and the controlled parts. The first is a software component controlling the second one that models the physical device and its environment. Specification patterns are design patterns that are expressed in a formal specification language. Reusing a specification pattern means instantiating it and the proofs associated. This chapter shows through a case study how to define specification patterns in Event-B, how to reuse them, and also how to reuse the proofs associated with specification patterns.


Author(s):  
Toufik Taibi

A Design pattern describes a set of proven solutions for a set of recurring design problems that occur within a context. As such, reusing patterns improves both quality and time-to-market of software projects. Currently, most patterns are specified in an informal fashion, which gives rise to ambiguity, and limits tool support and correct usage. This chapter describes balanced pattern specification language (BPSL), a language intended to accurately describe patterns in order to allow rigorous reasoning about them. BPSL incorporates the formal specification of both structural and behavioral aspects of patterns. Moreover, it can formalize pattern composition and instances of patterns (possible implementations of a given pattern).


2012 ◽  
Vol 2 (2) ◽  
pp. 112-116
Author(s):  
Shikha Bhatia ◽  
Mr. Harshpreet Singh

With the mounting demand of web applications, a number of issues allied to its quality have came in existence. In the meadow of web applications, it is very thorny to develop high quality web applications. A design pattern is a general repeatable solution to a generally stirring problem in software design. It should be noted that design pattern is not a finished product that can be directly transformed into source code. Rather design pattern is a depiction or template that describes how to find solution of a problem that can be used in many different situations. Past research has shown that design patterns greatly improved the execution speed of a software application. Design pattern are classified as creational design patterns, structural design pattern, behavioral design pattern, etc. MVC design pattern is very productive for architecting interactive software systems and web applications. This design pattern is partition-independent, because it is expressed in terms of an interactive application running in a single address space. We will design and analyze an algorithm by using MVC approach to improve the performance of web based application. The objective of our study will be to reduce one of the major object oriented features i.e. coupling between model and view segments of web based application. The implementation for the same will be done in by using .NET framework.


2014 ◽  
Vol 513-517 ◽  
pp. 927-930
Author(s):  
Zhi Cheng Wen ◽  
Zhi Gang Chen

Object-Z, an extension to formal specification language Z, is good for describing large scale Object-Oriented software specification. While Object-Z has found application in a number of areas, its utility is limited by its inability to specify continuous variables and real-time constraints. Linear temporal logic can describe real-time system, but it can not deal with time variables well and also can not describe formal specification modularly. This paper extends linear temporal logic with clocks (LTLC) and presents an approach to adding linear temporal logic with clocks to Object-Z. Extended Object-Z with LTLC, a modular formal specification language, is a minimum extension of the syntax and semantics of Object-Z. The main advantage of this extension lies in that it is convenient to describe and verify the complex real-time software specification.


2018 ◽  
Vol 8 (12) ◽  
pp. 2461 ◽  
Author(s):  
Qian Wang ◽  
Gang Fang ◽  
Ying-Hong Zhao ◽  
Jie Zhou

Optimized stent pattern design can effectively enhance the mechanical performance of magnesium alloy stents by adjusting strain distribution and evolution during stent deformation, thereby overcoming the limitations imposed by the intrinsic mechanical properties of magnesium alloys. In the present study, a new stent design pattern for magnesium alloys was proposed and compared to two existing stent design patterns. Measures of the mechanical performance of these three stents, including crimping and expanding deformability, radial scaffolding capacity, radial recoil and bending flexibility, were determined. Three-dimensional finite element (FE) models were built to predict the mechanical performance of the stents with the three design patterns and to assist in understanding the experimental results. The results showed that, overall, the stent with the new design pattern was superior to the stents based on the existing designs, though the expanding capacity of the newly designed stent still needed to be improved.


Sign in / Sign up

Export Citation Format

Share Document