Inheritance in Petri Net Designs. Goals Subtyping - interface inheritance: Can the subclass use or conform to the interface of the superclass?). Projection.

Slides:



Advertisements
Similar presentations
Modeling Main issues: What do we want to build How do we write this down.
Advertisements

1 Important issues for the future Adaptive and interorganizational workflows Wil van der Aalst Eindhoven University of Technology Faculty of Technology.
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Object-oriented modeling Class/Object Diagrams
Stereotypes Stereotypes provide the capability to create a new kind of modeling element. –They can be used to classify or mark modeling elements. –A type.
Appendix A The Future of Workflows Wil van der Aalst has copyrights to almost all figures in the following slideshow made by Lars Frank.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
Unified Modeling Language
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
CAP 252 Lecture Topic: Requirement Analysis Class Exercise: Use Cases.
Stéphane Ducasse«ChapterNr».1 Arthur Riel Design Heuristics from Object-Oriented Design Heuristics by Arthur Riel Read the Heuristics… –Find reasons why.
Design Patterns in Java Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Chapter 14 (Web): Object-Oriented Data Modeling
Lecturer: Dr. AJ Bieszczad Chapter 66-1 Object-Oriented analysis and design Special nature of OO development Use cases Design with UML OO system design.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Use Case Analysis – continued
8.1 Classes & Inheritance Inheritance Objects are created to model ‘things’ Sometimes, ‘things’ may be different, but still have many attributes.
S R S S ystem R equirements S pecification Specifying the Specifications.
Introduction to Software Design Chapter 1. Chapter 1: Introduction to Software Design2 Chapter Objectives To become familiar with the software challenge.
Chapter 14: Object-Oriented Data Modeling
Unified Modeling Language
The Unified Modeling Language (UML) Class Diagrams.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
Use Case Analysis From soft systems methodology to understanding the system functionality.
The Software Development Life Cycle: An Overview
CSCI-383 Object-Oriented Programming & Design Lecture 9.
Conceptual Data Modeling. What Is a Conceptual Data Model? A detailed model that shows the overall structure of organizational data A detailed model.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Soundness problem for Resource-Constrained Workflow nets revisited Natalia Sidorova and Christian Stahl.
Odyssey A Reuse Environment based on Domain Models Prepared By: Mahmud Gabareen Eliad Cohen.
CSC 395 – Software Engineering Lecture 13: Object-Oriented Analysis –or– Let the Pain Begin (At Least I’m Honest!)
S.Ducasse Stéphane Ducasse 1 Design Heuristics.
Distributed Java Programming Distributed Java Programming Class #2 August 22, 2002.
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 13 (Online): Object-Oriented Data Modeling Modern Database Management 10 th Edition.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Petri Nets Invented by Carl Adam Petri in 1962 Concurrent systems with timing problems  Synchronization, race problem, deadlock A petri net consists of.
Object-Oriented Analysis and Design CHAPTERS 9, 31: DOMAIN MODELS 1.
Programming with Java © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 1 McGraw-Hill/Irwin Chapter 5 Creating Classes.
1 Unified Modeling Language, Version 2.0 Chapter 2.
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
Class diagrams Terézia Mézešová.
Lecture VIII: Software Architecture
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
Petri-Nets and Other Models
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
TK2023 Object-Oriented Software Engineering CHAPTER 11 CLASS DIAGRAMS.
 Description of Inheritance  Base Class Object  Subclass, Subtype, and Substitutability  Forms of Inheritance  Modifiers and Inheritance  The Benefits.
3/1/01H-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Evaluating Class Diagrams Topics include: Cohesion, Coupling Law of Demeter (handout)
Process Mining – Concepts and Algorithms Review of literature on process mining techniques for event log data.
Main issues: • What do we want to build • How do we write this down
Design (2).
Unified Modeling Language
UML SEQUENCE AND CLASS DIAGRAMS
Business Process Management Software
Lec 3: Object-Oriented Data Modeling
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Understand and Use Object Oriented Methods
Copyright 2007 Oxford Consulting, Ltd
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

Inheritance in Petri Net Designs

Goals Subtyping - interface inheritance: Can the subclass use or conform to the interface of the superclass?). Projection inheritance - all new methods (i.e., methods added in the subclass) are hidden. Substitutability - Can the superclass be replaced by the subclass without breaking the system? Subclassing - (implementation inheritance: Can the subclass use the implementation of the superclass?),

Constraints Maintain soundness Avoid Deadlocks Transition enabling Reachable markings ect.…..

Technical Definitions Abstraction Let N = (P; T,M, F, lo ) be a labeled P/T-net. For any I ⊆ Lv, the abstraction operator I is a function that renames all transition labels in I to the silent action. Formally, I (N) = (P, T, M, F, l1) such that, for any t ∈ T, lo(t) ∈ I implies l1(t) = and lo(t) ∈ I implies l1(t) = lo(t). Inheritance. For any two sound WF-nets N0 and N1 in W, N1 is a subclass of N0 under projection inheritance, denoted N1.pj N0, if and only if there is an I ⊆ Lv such that (I (N1); [i]).b (N0; [i]).

Inheritance example

Question Are all 4 IOWF subclasses of No?

Answer N2, N3, N4 are subclasses of No N1 is NOT a subclass of No

Subclasses of No

N1 not a Subclasses

Greatest Common Denominator (GCD) The GCD of a set of WF-nets is a WF-net that captures the part these nets have in common, i.e., the part where they agree on.

Least Common Multiple (LCM) Any sequence generated by one of the four nets can also be generated by.

Contractor Example Two Domains Contractor and Subcontractor Contractor sends an order to the subcontractor. Then, the contractor sends a detailed specification to the subcontractor and the subcontractor sends a cost statement to the contractor. Based on the specification the subcontractor manufactures the desired product and sends it to the contractor. For this very simple business-to-business protocol a sequence diagram is suitable.

Domain interactions

Basic Info May think of the domain as a class or object Tasks in the domains can be thought of as Methods The tasks from each domain are connected by Channels “NOTE” It should always be clear whether a domain is activated or not.

Tiers Overall view Public view Private View Tiers Differ in the amount of information that is viewable

Overall View

Public View

Private View

Contractor Subclasses

Flatten IOWF (with Details)

Partitioning – Clear starting and ending point

E-Books The following IOWF is an example of an “E-bookstore” 4 domains – customer, bookstore, publisher, shipper Interface allows use/interchangeability between any 4 of these domains

Customer The customers role is relatively simple They can place the order through a bookstore receive the book and bill and then pay

Customer

Bookstore The role of the bookstore is to receive an order from a customer, send the information to the publisher and notify the shipper to send the book.

Bookstore

Shipper The shipper receives the information from the bookstore and publisher sends the book and then notifies the customer.

Shipper

Publisher The role of the publisher is to receive payments form the bookstore deal with orders from the bookstore and deal with shipping info with the shipper.

Publisher

Benefits Simplicity – Diagrams allow for a quick and simple view of how the system works. Implementation - can be done in a quick and simple manner Relationships between domains are easily detectable Reusability tasks are easily accessible

E-books Through inheritance we are able to interact with any book store, publisher, shipper or customer. We are not restricted to any single domain but do have to deal with the system constraints.

Resources “ Inheritance of Interorganizational Workflows: How to agree to disagree without loosing control?” by W.M.P. van der Aalst “Inheritance of Dynamic Behavior in UML” W.M.P. van der Aalst “Inheritance of Workflows An approach to tackling problems related to change”