第10讲petri之基本网系统_第1页
第10讲petri之基本网系统_第2页
第10讲petri之基本网系统_第3页
第10讲petri之基本网系统_第4页
第10讲petri之基本网系统_第5页
已阅读5页,还剩30页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

工作流基本技术MainContentsPetriNetNetElementaryNetSystem2HistoryofPetrinetCarlAdamPetri (1962,PhDthesis)InsixtiesandseventiesfocusmainlyontheorySinceeightiesalsofocusontoolsandapplications(cf.CPNworkbyKurtJensen)3WhyPetriNet?ThechiefattractionoftheareaofPetriNetisthewayinwhichthebasicaspectsofdistributedsystemsareidentifiedbothconceptuallyandmathematicallyG.ROZENBURG LeidenUniversity,TheNetherlands4MainContentsPetriNetNetElementaryNetSystem567DefinitionofNetANetisatripleN=(S,T,F)S

T

andST=F(ST)(TS)dom(F)cod(F)=S

T

dom(F)={x|

y:(x,y)

F}cod(F)={x|

y:(y,x)

F}SNSB S-elementsofNTNTE T-elementsofNXN elementsofNFNFF flowrelationofN8NotationsinPetriNetCalledconditionsinElementaryNetSystemCalledplacesinPlace/TransitionSystemCalledeventsinElementaryNetSystemCalledtransitionsinPlace/TransitionSystem9ANetExamplet8t1t2t4t7t3t6t5s0s1s2s4s3s9s5s8s6s7N=(B,E,F)B={s0,…,s9}E={t1,…,t8}F={(s1,t1),(s0,t1),(s0,t2),(s2,t2),……(t5,s1),(t8,s0),(t7,s2)}10CaseandStepCase(情态)Distributed(global)stateSetofconditionsholdingconcurrentlyConstellation(条件丛)E.g.{s0,s1,s9}Step(步)Distributed(global)transitionSetofeventsoccurringconcurrentlyE.g.{t1,t8}t8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s711pre-Set&post-Setpre-Set(前集)/pre-conditionspost-Set(后集)/pre-conditions N=(B,E,F),xXN,YXN

·x={yXN:(y,x)F}

x·={yXN:(x,y)F}

·Y=

·x Y·=

x

Y

x

Y

t8t1t2t4t7t3t6t5s0s1s2s4s3s9s5s8s6s712PureNet&SimpleNetPurenet(纯网/单纯网)对于网N(S,T;F), xX;xx=,其中X=STSimplenet(简单网)对于网N(S,T;F), 若x,yX,x=yx=y则x=y,其中X=ST13KeyQuestionsWhencanastep

occur(concurrently)atacase?Whatistheresultingcasewhenastepoccursatacase

‘Structural’transitionrelationrelatingpotentialcasestopotentialcasesviapotentialsteps14Question1Q:Whencananevente

occuratacaseC?A:ecanoccuratC

allpre-conditionsholdatC(e

C)and nopost-conditionsholdatC(e

C=

)记作,C[e>NEnabled 可实施的/有发生权的/受权的15Question1(c1)NotethatifC[e>N then·e

e·= Henceweoftenconsideronlypurenetst8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s716Question2Q:Whatistheresultofanevente

occurringatacaseC?A:WheneoccursatCthepre-conditionsofeceasetoholdandthepost-conditionsofebegintohold;theremainingpartofthecaseremainsunaffected.(HencetheresultingcaseC’is(C

e)e)记作,C[e>NC’Firing 实施/发生17Question2(c1)N=(B,E,F),C,C’B,eEC[e>NC’iff

C-C’=e&C’-C=e

e=eeistheextensionofe

18Question3N=(B,E,F),CB,uEQ:WhencantheeventsinuoccurconcurrentlyatC? (whencanthestepuoccuratC)A:ucanoccuratCifftheeventsinucanindividuallyoccuratCwithoutinterferingwitheachother记作,C[u>N19Question4N=(B,E,F),CB,uE,uisenabledtooccuratCQ:WhatistheresultofuoccurringatC?A:Theresultisthe‘sum’oftheresultsoftheeventsinuoccurringindividuallyatC (C’=(C-u)u)记作,C[u>NC’20Question4(c1)N=(B,E,F),CB,uEuisindependent,indN(u),iff (e1,e2)uif

e1e2then (e1e1)(e2e2)=UisastepenabledatC,C[u>N,iff

indN(u),uCanduC=

21Question4(c2)Theorem(diamondproperty)N=(B,E,F),C,DB,uELet{u1,u2}beapartitionofu(u1,u2,u1u2=,u1u2=u)IfC[u

>ND,thenQBsuchthat C[u1

>NQandQ[u2

>ND22Question5N=(B,E,F),CB,=e1e2…enE+Q:Whencan

occuratC?A:

canoccuratCiff theeventsin

canindividuallyoccurintheorderdeterminedby

记作,C[

>N23Question5(c1)THEOREMN=(B,E,F),CB,e1,e2EIfC[e1,e2

>NandC[e2

>N,thenC[{e1,e2}>N24Question5(c2)THEOREM(sequentializationproperty)N=(B,E,F),C,DB,uE(1)IfC[u

>Nifforderinge1,…,enu, C[e1,…,en

>N(2)IfC[u

>NDifforderinge1,…,enu, C[e1,…,en

>ND25MainContentsPetriNetNetElementaryNetSystem

26DefinitionofENSystemAnElementaryNetSystem(ENsystem)isa4-tupleN=(B,E,F,Cin)where(B,E,F)isanetcalledtheunderlyingnetofN,und(N),Cin

BistheinitialcaseofN,inc(N)NotationsofENsystem BN EN FNCN=[Cin> thesetofcasesofNUN={u

E:(C1,C2)CNC1[u>NC2

thesetofstepsofN27ENSystemENsystemasanabstractmodelofadistributedsystem:

N=(B,E,F, Cin)GraphicalnotationforanENsystemconsistsofthemarkingofCinbytokensUnderlyingStaticStructureDynamicBehaviourt8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s72829Relationof2Events LetNbeanENsystem,letC

CN,andlete1,e2

EN. e1,e2canberelatedtoeachotheratCin(atleast)threeways

sequence, conflict, concurrency30Relationof2Events:Sequence LetNbeanENsystem,letC

CN,andlete1,e2

EN. e1canoccuratCbutnote2.However,aftere1hasoccurrede2canoccur.e1,e2areinsequenceatCiff C[e1>,

C[e2>,andC’[e2>,whereC[e1>C’t8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s731Relationof2Events:Choice LetNbeanENsystem,letC

CN,andlete1,e2

EN. e1ande2canoccurindividuallyatC,buttheycannotoccurtogetheratC. {e1,e2}isnotastepatC. whethere1ore2

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论