第10講petri之基本網(wǎng)系統(tǒng)_第1頁
第10講petri之基本網(wǎng)系統(tǒng)_第2頁
第10講petri之基本網(wǎng)系統(tǒng)_第3頁
第10講petri之基本網(wǎng)系統(tǒng)_第4頁
第10講petri之基本網(wǎng)系統(tǒng)_第5頁
已閱讀5頁,還剩30頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

工作流基本技術(shù)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(情態(tài))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(純網(wǎng)/單純網(wǎng))對(duì)于網(wǎng)N(S,T;F), xX;xx=,其中X=STSimplenet(簡單網(wǎng))對(duì)于網(wǎng)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 可實(shí)施的/有發(fā)生權(quán)的/受權(quán)的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 實(shí)施/發(fā)生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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論