© Amit Mitra & Amar Gupta ANALYZING THE REAL WORLD WHAT IS A MODEL? –ONLY REPRESENTS, AND IS NOT REALITY »Repeatable, consistent & accurate within a limited.

Slides:



Advertisements
Similar presentations
1 © Amit Mitra & Amar Gupta TOPICS READING ASSIGNMENT: SUPPLEMENTARY MATERIALS MODULE 5 Domains of meaning vs. Format Representation and its polymorphisms.
Advertisements

1 © Amit Mitra & Amar Gupta FORMATS, SYMBOLS & UNITS OF MEASURE Continuation of our discussion of Pattern and its semantics.
1 © Amit Mitra & Amar Gupta Topics Introduction to information Space The concept of meta-object and meta-model Introduction to Perspective, Classification.
Chapters 7 & 9 System Scope
Chapter 7 Structuring System Process Requirements
Using the Crosscutting Concepts As conceptual tools when meeting an unfamiliar problem or phenomenon.
TYPES OF DATA. Qualitative vs. Quantitative Data A qualitative variable is one in which the “true” or naturally occurring levels or categories taken by.
1 © Amit Mitra & Amar Gupta DOMAINS OF MEANING. 2 © Amit Mitra & Amar Gupta Parameter/ Feature Directional?SubtypesValid in (Space) AssociationYPatterns.
Chapter 1 A First Look at Statistics and Data Collection.
1 CROSSING THE CHASM Business Process to Information System Reading Assignment Supplementary module 5.
Introduction to Statistics and Research
Software Testing and Quality Assurance
Knowledge Acquisitioning. Definition The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
PROCESS MODELING Transform Description. A model is a representation of reality. Just as a picture is worth a thousand words, most models are pictorial.
2-1 Sample Spaces and Events Conducting an experiment, in day-to-day repetitions of the measurement the results can differ slightly because of small.
1 Lecture 2: Elaboration Tasks and Domain Modeling.
6/8/991 Analysis Tuesday 09/14/99 Revised: September 11, 2000 (APM)
Copyright W. Howden1 Lecture 2: Elaboration Tasks and Domain Modeling.
Copyright W. Howden1 Lecture 4: Elaboration Tasks and Domain Modeling.
Chapter 3 Planning Your Solution
1 © Amit Mitra & Amar Gupta Constraints Constraints shape the Lawful State Space of an object –Create polymorphisms Constraints on value –Homework: Read.
Chapter 7 Structuring System Process Requirements
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Chapter 6: The Traditional Approach to Requirements
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 6 The Traditional Approach to Requirements
Proceso kintamybių modeliavimas Modelling process variabilities Donatas Čiukšys.
Systems Analysis and Design in a Changing World, Fifth Edition
Census A survey to collect data on the entire population.   Data The facts and figures collected, analyzed, and summarized for presentation and.
Chapter 7 Structuring System Process Requirements
Slides for “Data Mining” by I. H. Witten and E. Frank.
Essentials of Statistics 3rd edition
THE RELATIONAL DATA MODEL CHAPTER 3 (6/E) CHAPTER 5 (5/E) 1.
1 Concepts of Variables Greg C Elvers, Ph.D.. 2 Levels of Measurement When we observe and record a variable, it has characteristics that influence the.
Quantitative Analysis. Quantitative / Formal Methods objective measurement systems graphical methods statistical procedures.
Chapter 1 Introduction to Statistics. Statistical Methods Were developed to serve a purpose Were developed to serve a purpose The purpose for each statistical.
1 ©Amit Mitra & Amar Gupta AGGREGATION Reading Assignment Supplementary module 5 Object Aggregation.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
1 6 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 6 The Traditional Approach to Requirements.
PROCESSING OF DATA The collected data in research is processed and analyzed to come to some conclusions or to verify the hypothesis made. Processing of.
Repetition af Domæne model. Artifact influence emphasizing the Domain Model.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Overview and Types of Data
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Domain Model A representation of real-world conceptual classes in a problem domain. The core of object-oriented analysis They are NOT software objects.
1 What is Data? l An attribute is a property or characteristic of an object l Examples: eye color of a person, temperature, etc. l Attribute is also known.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Measurement Chapter 6. Measuring Variables Measurement Classifying units of analysis by categories to represent variable concepts.
Understanding the Value and Importance of Proper Data Documentation 5-1 At the conclusion of this module the participant will be able to List the seven.
Chapter 1 Introduction to Statistics 1-1 Overview 1-2 Types of Data 1-3 Critical Thinking 1-4 Design of Experiments.
Unit 1 Section 1.2.
Pharmaceutical Statistics
Lecture 4: Elaboration Tasks and Domain Modeling
Business System Development
Chapter 6 The Traditional Approach to Requirements.
Unified Modeling Language
UNIT – V BUSINESS ANALYTICS
Introduction to Statistics and Research
statistics Specific number
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Overview of Entity‐Relationship Model
statistics Specific number
Software Construction Lecture 2
Entity-Relationship Diagram (ERD)
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

© Amit Mitra & Amar Gupta ANALYZING THE REAL WORLD WHAT IS A MODEL? –ONLY REPRESENTS, AND IS NOT REALITY »Repeatable, consistent & accurate within a limited scope –PARTIAL VIEW OF REALITY =SCOPE OF MODEL REAL WORLD HAS –No Data, No process - only behavior –SCOPE OF MODEL= BEHAVIOR OF INTEREST »STIMULUS & RESPONSE: Repeatable, consistent & accurate »ABSTRACTION OF RULES WHAT IS BEHAVIOR? TECHNIQUES FOR REPRESENTING BEHAVIOR Make cookie Dough Arrange dough glob on cookie sheet Bake doughRemove Cookie BAKE COOKIE

© Amit Mitra & Amar Gupta BEHAVIOR RESPONSE TO A GIVEN STIMULUS –HIT METAL SHEET: it bends –HIT GLASS SHEET: it breaks INVOLVES OBJECTS, EVENTS, CHANGE CHANGE INVOLVES TIME TECHNIQUES FOR REPRESENTING BEHAVIOR –BLACK BOX »“INPUT-OUTPUT” VIEW –NODE BRANCH »“ERD TYPE” TECHNIQUES

© Amit Mitra & Amar Gupta PROCESS BAKE COOKIE DOUGH OVEN COOKIE COOKIE SHEET (new) COOKIE SHEET (used) COOK R E A L W O R L D O B J E C T S R E A L W O R L D O B J E C T S REAL WORLD RELATIONSHIP BEFOREAFTER TIME

© Amit Mitra & Amar Gupta BLACK BOX VIEW RULES & FORMULAE Operations on values of v1..v4 to derive values of v5 thru v7 at various points in TIME V1 V2 V5 V6 INPUTS OUTPUTS V7 (BEFORE)(AFTER) time valuevalue v`1 v2 v3 v4 valuevalue time v6 v7 v5 (INPUTS CHANGE) (OUTPUTS RESPOND) Examples: Oven Temperature Ingredient Quantities Examples: No. of cookies Crispness of cookies Weight of each cookie BLACK BOX (TRANSFORM) V3 V4 Example: Transform for baking a cookie

© Amit Mitra & Amar Gupta THE PROBLEM THE REAL WORLD CHANGES THE REAL WORLD CAN BE COMPLEX –CAN WE FILL IN DETAIL IN SUCCESSIVE STEPS? –PROCESS DECOMPOSITION V1 V2 V3 V4 V5 V6 INPUT VARIABLES OUTPUT VARIABLES V7 RULE 1 RULE 2 BEFORE (CAUSE) AFTER (EFFECT) PROCESS DECOMPOSITION = INFLEXIBLE SYSTEMS – WE DIVIDE EVEN BEFORE WE KNOW WHAT WE DIVIDE – ALMOST LIMITLESS WAYS OF DIVIDING THE BOX ■SOME WORK IN A LIMITED CONTEXT, OTHERS DO NOT ■NO PRECISE RULES FOR WHAT WILL WORK AND WHAT WON’T – THE PROBLEM OF CHAOS DATA FLOW INTERPRETATION RULE 3RULE 4 BLACK BOX

© Amit Mitra & Amar Gupta NODE BRANCH REPRESENTATION RULE V1 V2 V3 V4 V5 V6 V7 The future of v1 depends on its past values RULE How can we represent cross effects between v2 & v3 ? MORE “HOLISTIC” VIEW –State vs Input-output CYCLE: a loop EQUILIBRIUM: May or may not exist LOGICAL UNIT OF WORK –assumes equilibrium –physical design concept ERD IS DERIVED FROM THIS: Static rules

© Amit Mitra & Amar Gupta THE PROBLEM TOO MUCH DETAIL NEEDED UP FRONT HOW CAN VARIABLES BE GROUPED? GOODBAD GOODBAD There are few absolute truths

© Amit Mitra & Amar Gupta FACT BASED BEHAVIOR MODELING –GROUPING: THEORY OF CATEGORIES APPLIED TO REAL WORLD OBJECTS –FACT BASED ENTITY & PROCESS DESIGN PHASED INFO CAPTURE –BASED ON COMMON “IRREDUCIBLE” FACTS –CROSS SCOPE COMMONALITY THE ANSWER

© Amit Mitra & Amar Gupta FACTS A FACT IS... –ASSERTION: SIMPLE, COMPLEX, CAVEATS AN IRREDUCIBLE FACT... – CANNOT BE DIVIDED WITHOUT LOSING INFORMATION OR A PART OF ITS ORIGINAL MEANING »eg: product sold to customer at a place thru a distribution channel WHY DIFFERENT MODELS FOR THE SAME BUSINESS REQUIREMENTS? –DIFFERENT GENERALIZATIONS AND SPECIALIZATIONS OF THE REAL WORLD –NEED FOR STANDARD OBJECT TAXONOMY –NEED TO START WITH IRREDUCIBLE FACTS

© Amit Mitra & Amar Gupta BUSINESS RULES Business Rules are… –Policies, practices, facts, assertions and rules about required business behavior –Individually simple, complex in combination The Business Rule Approach focuses systems development on business constraints & opportunity –Unified view of knowledge about products & customers –Separated from technology constraints –Business rule changes can be automatically reflected in applications Framing business rules in a real world object ontology helps avoid repetition & unmanageable “rule tangling” for the most frequently used rules of the enterprise –Combined with Object Inheritance it can provide a powerful method of building systems that will facilitate, not control change

© Amit Mitra & Amar Gupta An example of how business rules are assembled from meanings…

© Amit Mitra & Amar Gupta MODEL COMPONENTS OBJECT –INSTANCES –INSTANCE MAY PLAY MULTIPLE ROLES AT THE SAME TIME –SET THEORY –FOUR SET OPERATIONS »SUBSET, UNION, INTERSECTION, CARTESIAN PRODUCT »BOREL OBJECTS PROPERTIES –ATTRIBUTES: DATA, STATE –EFFECT OF EVENT »FINITE NO. OF POSSIBLE OPERATIONS ON OBJECT DOMAIN (an abstraction) –COMMON TO MANY ATTRIBUTES AND OBJECTS –NORMALIZES REAL WORLD MEASURABILITY INFORMATION –NOMINAL, ORDINAL, DIFFERENCE & RATIO SCALED –DIFFERENCE & RATIO SCALED DOMAINS MUST HAVE ATLEAST ONE, AND MAY HAVE MANY UNITS OF MEASURE (uom) –EACH UOM MAY HAVE MANY PHYSICAL REPRESENTATIONS: (FORMATs) OFTEN CONFUSED WITH EACH OTHER

© Amit Mitra & Amar Gupta ASSUMPTIONS PROPERTIES (ATTRIBUTE VALUES & RELATIONSHIPS) CHANGE IN RESPONSE TO DISCRETE EVENTS CONSTRAINTS ON ENTITIES CHANGE IN RESPONSE TO DISCRETE EVENTS DETERMINISTIC SYSTEM Time slice (a single state of an instance of an object) OBJECT CLASS Present Past V1 V2 V3 V4 V1 V2 V3 V4 Instance Time V1 V2 V3 V4

14 © Amit Mitra & Amar Gupta SETS & SET OPERATIONS A B A BB set intersection A  B is the set of objects that are members of both A and B.  Multiple inheritance A-B B-A A-B is the set of objects that are members of set A, but not B. B-A is the set of objects that are members of set B, but not A. C C AA set difference subset of A C  A implies all members of C are also members of A, but not vice-versa.  Inheritance (Data, behavior & constraints) A B A BB A  B is the set of object that are members of either set A, or set B, or both. set union 

15 © Amit Mitra & Amar Gupta X SET C=AB a1 a2 a3 SET A b1 b2 SET B X (a1, b1) (a1,b2) (a2, b1) (a2, b2) (a3, b1) (a3, b2) = CARTESIAN PRODUCT OF SETS A AND B SET OPERATIONS (CONTINUED)

© Amit Mitra & Amar Gupta A Knowledge Artifact is abstract

© Amit Mitra & Amar Gupta Attributes of Objects “Value” includes “Any” (i.e., “All”) “Don’t Know” “Null”

© Amit Mitra & Amar Gupta Relationships are objects Relationships are also features of objects

© Amit Mitra & Amar Gupta What is a Metamodel? Information about information –A model of information that structures the concept of “model” Consists of “Meta-Objects” –Eg. “Object Class”, “Object Instance”, “Relationship”, “Process”

© Amit Mitra & Amar Gupta Metamodel of State

21 © Amit Mitra & Amar Gupta Qualitative Attribute FORMAT convert to 0 or 1 [convert from] Qualitative Attribute Ordinal Attribute Nominal Attribute is a Subtype of Ordinal/Nominal Partition is expressed by 1 or many [express none, or many] (INHERITED FROM DOMAIN) QUALITATIVE DOMAIN Qualitative Value The two sets are equal is a Subtype of Must take only 1 [may be value of none, or many]

22 © Amit Mitra & Amar Gupta Quantitative Attribute FORMAT UNIT OF MEASURE is expressed by 1 or many [express none or many] convert to 0 or 1 [convert from] convert to 0 or 1 [convert from] Quantitative Attribute Difference Scaled Attribute Ratio Scaled Attribute is a Subtype of Difference/Ratio Scaled Partition is expressed in 1 or many [express none or many] (INHERITED FROM DOMAIN) Quantitative Value The two sets are equal QUANTITATIVE DOMAIN is a Subtype of Must take only 1 [may be value of none, or many]

© Amit Mitra & Amar Gupta INCREASING INFORMATION CONTENT QUALITATIVE DOMAIN QUANTITATIVE DOMAIN FORMAT UNIT OF MEASURE is expressed by 1 or many [express] is expressed by 1 or many [express] is expressed by 1 or many [express] convert to 0 or 1 [convert from] convert to 0 or 1 [convert from]

© Amit Mitra & Amar Gupta Subtype of NOMINAL VALUE ORDINAL VALUE DON’T CARE ALL Partition of [partitioned by] MEANINGFULNESS RATIO SCALED VALUE Subtype of DIFFERENCE SCALED VALUE Metamodel of Value Subtype of Subtype of Instance of NIL NULL (MEANINGLESS) (absence of magnitude )

© Amit Mitra & Amar Gupta KINDS OF DOMAINS MUST EVERY OBJECT HAVE ATTRIBUTES ? (can be logically [automatically] inferred) (impossibility can be logically [automatically] inferred )

26 © Amit Mitra & Amar Gupta Subtype of NOMINAL DOMAIN ORDINAL DOMAIN DOMAINS WITH NIL VALUES DOMAINS WITH LOWER BOUNDS UNKNOWN DOMAIN ORDINAL DOMAIN WITH NIL VALUES RATIO SCALED DOMAIN Subtype of DIFFERENCE SCALED DOMAIN Subtype of (impossibility can be logically [automatically] inferred ) (can be logically [automatically] inferred)

© Amit Mitra & Amar Gupta Names of object properties emerge naturally from the structure of information –Names reflect Meaning –Meanings are patterns of information NAMING RULE: Object Class (optionally possessive form), Domain, IN Unit of Measure –Car (‘s) Color Multiple interactions between object and domain needs qualifier –E.g. Car body Color, Car Seat Color –Person (‘s) Color-Preference Person’s (Visual) Car-Color-Preference –String (‘s) Length String (‘s) Length IN Feet Person Length?; Room height Length? Room Width Length?!! NAMING RULE: All nominal domains are subtypes of the Type domain (aka Class, Category) – Classify cars into sedans, hatchbacks, SUVs etc Object = Car, Domain = Type, Attribute Name = Car Type NAMING RULE: All ordinal domains are subtypes of the Rank domain – Titles in an organization The same title may imply different levels in different organizations –VP in the insurance industry is 2 levels above a Director; Director in a bank is several levels above VP Object = Title, Domain = Rank, Attribute Name = Title Rank ATTRIBUTE NAMES (difference & Ratio Scaled domains only) Analysis itemDesign item

© Amit Mitra & Amar Gupta NAMING RULE: Object Class, Domain, IN Unit of Measure EXPRESSED IN Format –Object Class must be singular – Domain name must be singular –Unit of Measure must be Plural –String Length Object = String, Domain = Length, UOM= Feet, Format = Numeric Digits –Attribute Name = String Length IN Feet EXPRESSED IN Numeric Digits Format = English Speech –Attribute Name = String Length IN Feet EXPRESSED IN English Speech REALIZING ATTRIBUTES IN A COMPUTER SYSTEM – What is an attribute? Current technology does not recognize the meaning of an attribute or the pattern that creates attributes Each tangible expression is considered a separate and independent attribute in most database systems and many CASE tools But times are a –changing! –XML partly separates the meaning from its expressions –The Metamodel of Knowledge can be the blue print for tools better aligned with the real world Tangible expression ATTRIBUTE NAMES (continued) DOMAINOBJECT Attribute is a Subtype of a single is a Property of a single [is a class of none, or several attributes] [state described by 1 or more] FORMAT expressed innoneor more UOM expression of only 1

29 © Amit Mitra & Amar Gupta IDENTIFYING DOMAINS Yes. Eg:Policy premiums Is the attribute a basis, or potential basis, for creating mutually exclusive entity subtypes? No The attribute is at least Nominal Scaled, and may be Ordinal, Difference or Ratio Scaled. Can the values of the attribute be arranged in a natural order from least to most? #2 The attribute is at least Ordinally Scaled, and may be Difference or Ratio Scaled. Can attribute values be meaningfully subtracted? #3 The attribute is at least Difference Scaled, and may be Ratio Scaled. A Nominally Scaled Attribute. An Ordinally Scaled Attribute. No Eg: Color preference. No Eg:Policy effective date No E.g: Color of car Are attribute ratios meaningful?#4 #1 A Difference Scaled Attribute. #2 Yes. A Ratio Scaled Attribute. #3 #4 Yes. #1 STOP May be “fuzzy” concept. Rethink.

© Amit Mitra & Amar Gupta “Although I am one, I shall become Many.” - passage from Chandogya Upanishad, an ancient text from India, on manifestation of material reality, translated by Swami Prabhupada

© Amit Mitra & Amar Gupta Reading Assignments 1. Supplementary materials in Modules 1 & 3 at 2. Prologue and Chapter 1 of

© Amit Mitra & Amar Gupta Formatting Rules Sequencing Rules Display OBJECT CLASS INFORMATION SOURCING CONNECTION (OPTIONAL) INCLUSION/EXCLUSION SET(S) Components of View must contain only 1 [contained in 0 or more] Formatting Rule Sequencing Rule (OPTIONAL) INCLUSION/EXCLUSION SET GROUP(S) must contain only 1 [contained in 0 or more] May contain 0 or 1 [contained in 0 or more] METAMODEL OF VIEW VIEW ACTOR VIEW Expressed by 0 or more [of 1 or more] OBJECT Display Formats for 0 or more [formatted by 1 or more] must contain only 1 [contained in 0 or more] Intersection of 0 or more [Intersection of 0 or more ] Union of 0 or more [Union of 0 or more ] Intersection of 0 or more [Intersection of 0 or more ] Union of 0 or more [Union of 0 or more ] Selection criteria

© Amit Mitra & Amar Gupta Names of object properties emerge naturally from the structure of information –Names reflect Meaning –Meanings are patterns of information NAMING RULE: Object Class (optionally possessive form), Domain, IN Unit of Measure –Car (‘s) Color –Person (‘s) Color-Preference Person’s (Visual) Car-Color-Preference –String (‘s) Length String (‘s) Length IN Feet NAMING RULE: Nominal domains may be called Type PERSON VISUAL CAR COLOR PREFERENC E ATTRIBUTE NAMES (difference & Ratio Scaled domains only) DOMAINOBJECT Attribute Attribute is a Subtype of a single Attribute is a Property of a single [Domain is a class of none, or several attributes] [state described by 1 or more] PREFERENCE COLOR PREFERENCE PERSON CAR Visualize Car see

© Amit Mitra & Amar Gupta DOMAINOBJECT Attribute Attribute is a Subtype of a single Attribute is a Property of a single [Domain is a class of none, or several attributes] [state described by 1 or more] ATTRIBUTE NAMES (continued)

© Amit Mitra & Amar Gupta DOMAINOBJECT Attribute Attribute is a Subtype of a single Attribute is a Property of a single [Domain is a class of none, or several attributes] [state described by 1 or more] HOW CAN WE REALIZE ATTRIBUTES IN A COMPUTER?

© Amit Mitra & Amar Gupta DOMAINOBJECT Attribute is a Subtype of a single is a Property of a single [is a class of none, or several attributes] [state described by 1 or more] FORMAT expressed in none or more UOM expression of only 1

37 © Amit Mitra & Amar Gupta Subtype of NOMINAL DOMAIN ORDINAL DOMAIN DOMAINS WITH NIL VALUES DOMAINS WITH LOWER BOUNDS UNKNOWN DOMAIN ORDINAL DOMAIN WITH NIL VALUES RATIO SCALED DOMAIN Subtype of DIFFERENCE SCALED DOMAIN Subtype of