版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、DONG HUA UNIVERSITY Copyright DHU 2010工作流基本技术管理学院 Copyright DHU 20102Main ContentslPetri NetlNetlElementary Net System 管理学院 Copyright DHU 20103History of Petri net Carl Adam Petri (1962, PhD thesis) In sixties and seventies focus mainly on theory Since eighties also focus on tools and applications (
2、cf. CPN work by Kurt Jensen)管理学院 Copyright DHU 20104Why Petri Net? The chief attraction of the area of Petri Net is the way in which the basic aspects of distributed systems are identified both conceptually and mathematically- G. ROZENBURGLeiden University, The Netherlands管理学院 Copyright DHU 20105Mai
3、n ContentslPetri NetlNetlElementary Net System 管理学院 Copyright DHU 20106管理学院 Copyright DHU 20107管理学院 Copyright DHU 20108Definition of NetA Net is a triple N=(S, T, F)lS T and S T= lF (S T) (T S)ldom(F) ran(F) = S T ldom(F) = x|y:(x,y)F(1)ran(F) = x|y:(y,x)FlSN S BS-elements of NlTN T ET-elements of N
4、lXN elements of NlFN F Fflow relation of N管理学院 Copyright DHU 20109Notations in Petri NetlCalled conditions in Elementary Net SystemlCalled placesplaces in Place/Transition SystemlCalled events in Elementary Net SystemlCalled transitionstransitions inPlace/Transition System管理学院 Copyright DHU 201010A
5、Net Examplet8t1t2t4t7t3t6t5s0s1s2s4s3s9s5s8s6s7lN=(B,E,F)lB=s0,s9lE=t1,t8lF=(s1,t1),(s0,t1),(s0,t2),(s2,t2), (t5,s1),(t8,s0),(t7,s2)管理学院 Copyright DHU 201011Case and Step Case(情态)- Distributed (global) state- Set of conditions holding concurrently- Constellation(条件丛)- E.g. s0,s1,s9 Step(步)- Distribu
6、ted (global) transition- Set of events occurring concurrently- E.g. t1,t8t8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7管理学院 Copyright DHU 201012pre-Set & post-Setpre-Set(前集) /pre-conditionspost-Set (后集) /pre-conditionsN=(B,E,F), xXN, Y XNx=y XN: (y,x) F x= y XN: (x,y) F Y= x Y = x x Y x Yt8t1t2t4t7t3t6t5s
7、0s1s2s4s3s9s5s8s6s7管理学院 Copyright DHU 201013Pure Net & Simple NetPure net(纯网/单纯网)-对于网N(S,T;F), x X; x x = ,其中X=STSimple net(简单网)-对于网N(S,T;F), 若x,y X, x= y x =y 则x=y,其中X=ST 管理学院 Copyright DHU 201014Key QuestionsWhen can a step occur(concurrently) at a case?What is the resulting case when a step o
8、ccurs at a caseStructural transition relation relating potential cases to potential cases via potential steps管理学院 Copyright DHU 201015Question 1Q: When can an event e occur at a case C?A: e can occur at C all pre-conditions hold at C (e C) andno post-conditions hold at C (e C= ) 记作, CeNEnabled可实施的/有
9、发生权的/受权的管理学院 Copyright DHU 201016Question 1(c1)Note that if CeNthen e e = Hence we often consider only pure netst8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7管理学院 Copyright DHU 201017Question2Q: What is the result of an event e occurring at a case C?A: When e occurs at C the pre-conditions of e cease to hold
10、and the post-conditions of e begin to hold; the remaining part of the case remains unaffected.(Hence the resulting case C is(C e) e)记作,CeN C Firing实施/发生管理学院 Copyright DHU 201018Question2(c1)N=(B, E, F), C,CB, e ECeN C iff C-C= e & C-C= ee = e e is the extension of e管理学院 Copyright DHU 201019Quest
11、ion3N=(B,E,F), CB, u EQ: When can the events in u occur concurrently at C?(when can the step u occur at C)A: u can occur at C iff the events in u can individually occur at C without interfering with each other记作,CuN 管理学院 Copyright DHU 201020Question4N=(B,E,F), CB, u E, u is enabled to occur at CQ: W
12、hat is the result of u occurring at C?A: The result is the sum of the results of the events in u occurring individually at C(C=(C- u) u)记作,CuN C管理学院 Copyright DHU 201021Question4(c1)N=(B,E,F), CB, u Eu is independent, indN(u), iff(e1,e2) u if e1e2 then( e1 e1 ) ( e2 e2 ) =U is a step enabled at C, C
13、uN , iff indN(u), u C and uC= 管理学院 Copyright DHU 201022Question4(c2)Theorem(diamond property)N=(B,E,F), C,DB, uELet u1,u2 be a partition of u(u1,u2, u1 u2= ,u1 u2=u)If C u ND, then Q B such that C u1 NQ and Q u2 ND管理学院 Copyright DHU 201023Question5N=(B,E,F), CB, =e1 e2 enE+Q: When can occur at C?A:
14、can occur at C iff the events in can individually occur in the order determined by 记作,C N管理学院 Copyright DHU 201024Question5(c1)THEOREMN=(B,E,F), CB, e1, e2EIf Ce1,e2 N and C e2 N,thenCe1,e2 N管理学院 Copyright DHU 201025Question5(c2)THEOREM( sequentialization property) N=(B,E,F), C,DB, uE(1) If Cu N iff
15、 ordering e1,en u, Ce1,en N (2) If Cu N D iff ordering e1,en u, Ce1,en N D管理学院 Copyright DHU 201026Main ContentslPetri NetlNetlElementary Net System 管理学院 Copyright DHU 201027Definition of EN SystemAn Elementary Net System(EN system) is a 4-tuple N = N = (B, E, F, Cin) where (B,E,F) is a net called t
16、he underlying net of N N ,und(N N), Cin B is the initial case of N N, inc(N N)Notations of EN systemBN N E N N F N NC CN N = Cin the set of cases of NUN = u E:(C1,C2) C CN N C1uN C2 the set of steps of N管理学院 Copyright DHU 201028EN SystemEN system as an abstract model of a distributed system: N = N =
17、 (B, E, F, Cin)Graphical notation for an EN system consists of the marking of C in by tokensUnderlyingStaticStructureDynamicBehaviourt8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7管理学院 Copyright DHU 201029管理学院 Copyright DHU 201030Relation of 2 EventsLet N N be an EN system, let C C CN N , and let e1, e2 E N. N
18、.e1,e2 can be related to each other at C in (at least) three wayssequence,conflict,concurrency管理学院 Copyright DHU 201031Relation of 2 Events:SequenceLet N N be an EN system, let C C CN N , and let e1, e2 E N. N.e1 can occur at C but not e2. However, after e1 has occurred e2 can occur.e1,e2 are in seq
19、uence at C iffCe1, Ce2, and Ce2 , where Ce1Ct8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7管理学院 Copyright DHU 201032Relation of 2 Events:ChoiceLet N N be an EN system, let C C CN N , and let e1, e2 E N. N.e1 and e2 can occur individually at C, but they cannot occur together at C. e1, e2 is not a step at C.wheth
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026贵州六盘水市水城区“特岗计划”招聘考试参考题库及答案详解
- 2025年美术联考综合试题及答案
- 2025年保育员(高级)操作证考试试题及答案(完整版)
- 2026-2030中国翻译市场深度调研与未来前景预测分析报告
- 2026贵州安顺市镇宁自治县“特岗计划”教师招聘39人考试参考试题及答案详解
- 2026年衢州市柯城区公务员招聘考试备考试题及答案详解
- 2026年渝中区南岸区公务员招聘考试参考试题及答案详解
- 2026福建龙岩数智人才科技有限公司招聘驻连城国投集团财务专员1人考试参考试题及答案详解
- 八年级上册道德与法治第一单元“走进社会生活”单元整体教学设计
- 2025年伊春市金山屯区事业单位人员招聘笔试试题及答案详解
- 2026银行遴选面试题及答案
- 2026乌鲁木齐城市轨道集团招聘(191人)笔试参考题库及答案详解
- 厂房设备搬迁改造项目合同文本
- 华中科技大学2026年强基计划校考(面试+体育测试)模拟试题及答案解析
- 2026年人教版高一第二学期地理期末普通高中统考试卷(附答案可下载)
- 2024年汽车驾驶员(技师)证考试题库及答案
- JJG 272-2024 空盒气压表和空盒气压计检定规程
- 浙江省2023年7月普通高中学业水平考试(学考)化学试题(解析版)
- 彩票物流配送服务 投标方案(技术方案)
- 绿化苗木主材采购(供货计划、售后服务承诺)
- Unit 1 Reading Realizing your potentail 公开课说课课件-2022-2023学年高中英语牛津译林版(2020)必修第一册
评论
0/150
提交评论