Article View: comp.specification
Article #25Re: Predicates, bubbles & arrows (Re: Current OOA/OOD and formal methods)
From: Lucy Chubb
Date: Wed, 05 Aug 1992 01:57
Date: Wed, 05 Aug 1992 01:57
35 lines
2183 bytes
2183 bytes
From article <1992Aug3.222716.21723@beaver.cs.washington.edu>, by jon@cs.washington.edu (Jon Jacky): > > I think they could be complementary and both might be helpful. > > In a state transition diagram, each bubble represents a set of states that > satisfy some predicate --- the predicate that expresses what it means for the > system to be in that state. So, each bubble could be described by (for > example) a Z state schema. Each arrow in the diagram represents a transition > from a state in one such set to a state in another, so it could be described > by a Z operation schema. > > You can imagine having a specification with a couple of pages of Z schemas, > then a figure picturing a state transition diagram. The bubbles and arrows > in the diagram are each labelled with a name --- the name of one of the > schemas! Then you look up that schema to see the full definition of what's > going on in that bubble (or arrow). So, the Z serves as annotation for the > diagram, or the diagram illustrates some of the properties of the Z, depending > on which way you want to look at it. I agree with what you have said. In my Phd thesis I have a Z specification of an event based user interface that runs to quite a number of pages. Using Z specs alone would be close to unintelligible, so I started off with a state transition diagram showing how the different bits fit together and then wrote the Z specs from it in pretty much the way described above. Lucy Chubb. Softway Pty Ltd, Phone: +61 2 698 2322; P.O. Box 305, Fax: +61 2 699 9174; Strawberry Hills, Email: lucyc@softway.oz.au NSW 2012, AUSTRALIA
Technical Details
Message-ID:
<lucyc.712979836@suite.sw.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!mips!munnari.oz.au!metro!basser.cs.su.oz.au!swift!suite.sw.oz.au!lucycReferences:
<1992Aug3.222716.21723@beaver.cs.washington.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.specification Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!mips!munnari.oz.au!metro!basser.cs.su.oz.au!swift!suite.sw.oz.au!lucyc From: lucyc@suite.sw.oz.au (Lucy Chubb) Subject: Re: Predicates, bubbles & arrows (Re: Current OOA/OOD and formal methods) Organization: Softway Pty Ltd Date: 5 Aug 92 01:57:16 GMT Message-ID: <lucyc.712979836@suite.sw.oz.au> References: <1992Aug3.222716.21723@beaver.cs.washington.edu> Sender: news@softway.sw.oz.au (Usenet) Lines: 35