




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
闻立杰清华大学软件学院2013年/秋Lecture2Petrinets2PetriandPetriNetCarlAdamPetri (1962,PhDthesis)InsixtiesandseventiesfocusmainlyontheorySinceeightiesalsofocusontoolsandapplications(cf.CPNworkbyKurtJensen)3PetriNetandItsNotationsA(Petri)NetisatripleN=(S,T,F)S
T
andST=F(ST)(TS)dom(F)ran(F)=S
T
4TheMarkingofaPetriNetwemarkthestatesofa(Petri)NetbyTokens,
S1,S2,S3,S4,S5,S6,S7,S8(1,1,1,0,0,0,0,0)摆棋子t8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7MarkingVector:5PetriNetand(Petri)NetSystem
s1s2s3s4s5NetSystem=Net+InitialMarkingDefaultAssumptionsatmostonetokeperS-elementonlyonetokeconsumed/producedperflowrelation6PureNet&SimpleNetPurenet(纯网/单纯网)对于网N(S,T;F), xX;xx=,其中X=STSimplenet(简单网)对于网N(S,T;F),
若x,yX,x=yx=y则x=y,其中X=ST7FreeChoicePetrinetGivenaPetrinet(P,T;F)Iffforeverytwotransitionst1andt2,•t1
•t2implies•t1=•t2t1andt2areenabledatthesametimeFiringt1orFiringt2aredeterminedbytheenvironment8pre-set&post-set N=(S,T,F),xXN,YXN
x的前集,pre-set(x) ·x={yXN:(y,x)F} x的后集,post-set(x)
x·={yXN:(x,y)F}
·Y=
·x Y·=
x·
x
Y
x
Yt8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s79Question1:EnabledQ:Whencanatransitiont
fireatamarkingM?A:tcanfireatM
allpre-setsholdatM(t
M)and nopost-setsholdatM(t
M=
)记作,
M[t>NEnabled
可实施的/有发生权的/受权的/使能的发生条件10ExampleofQ1s1s2s3s4s5t1t2t3t4哪一个变迁可以发生?11Question2:FiringQ:Whatistheresultofatransitiont
firingatamarkingM?A:WhentoccursatMthepre-setoftceasetoholdandthepost-setoftbegintohold;theremainingpartofthecaseremainsunaffected.(HencetheresultingcaseM’is(M
t)t)记作,M[t>NM’Firing
实施/发生/触发/点火发生结果12Extension(外延)ofTransitionN=(S,T,F),M,M’P(S),tTM[t>NM’iff
M-M’=t&M’-M=t
t=t
tistheextensionoft,
即变迁的域局部确定性
13ExampleofQ2s1s2s3s4s5t1t2t3t4变迁实施效果?t1和t2能同时发生吗?14The
Temporal
StepAbasicTime-StepE(anEvent)
consistsofasetofTransitions,whichchangethatmarkingMintoamarkingM’
inawaydescribedbyRule2:
ResolveConflicts!Thisslide’scopyrightisreservedbyPetri15Thisslide’scopyrightisreservedbyPetri16TheBehaviorofPetriNet ATokenGame
Sequence17TheBehaviorofPetriNet ATokenGame
ParallelTheTemporalStep18TheBehaviorofPetriNet ATokenGame Conflict19TheBehaviorofPetriNet ATokenGame
Termination20SequentialMarkingGraphLetNbeaNetSystemTheSequentialMarkingGraphofN,SMG(N),isthe
initializededge-labeledgraph((V,Y),Vin)suchthatV=MN,Vin=inm(N),and Y={(m1,{e},m2):m1,m2MN,eTNandm1[{e}>Nm2}21DrawaSMGoftheNSs1s2s3s4s5s6s7s8s9s10s11s12s13s14s15s17s16s1822PetriNet编辑与分析工具:
PIPE23Petri网标记语言:PNMLPetriNetMarkLanguage24结构、标识和行为Petri网的行为由结构和标识共同决定举个例子:串行还是并行?25DeadlockinPetrinets26LiveLockinPetrinets27思考题如何判定一个Petrinet是连通的给定一个Petrinet系统如何判定其中存在的并发变迁集合?所有的,最大的,…给定一个Petrinet系统如何判定两个变迁是否能顺序、并发出现异或冲突?……28关于Petrinet合理性的文献[Ko95]KovalyovA.Analgorithmtoverifylivenessandboundednessinextendedfreechoicenets.In:Proc.the10thIEEEInternationalSymposiumonIntelligentControl,Monterey,California,USA,1995:591-601[Ke92]KemperP,Bausef.Anefficientpolynomial-timetodecidelivenessandboundednessoffree-choicenets.LectureNotesinComputerScience616,Springer,1992:263-278[Ji04]L.Jiao,T.Cheung,andW.Lu.OnLivenessandBoundednessofAsymmetricChoiceNets.InTheoreticalComputerScience,2004.[Mu89]MurataT.Petrinets:Properties,analysisandapplications.ProcoftheIEEE,1989,77(4):541-580[Aa00]W.vanderAalst.WorkflowVerification:FindingControl-FlowErrorsUsingPetri-Net-BasedTechniques.BusinessProcessManagements:Models,Techniques,andEmpiricalStudies2000.29ANetExamplet8t1t2t4t7t3t7t5s0s1s2s4s3s9s5s8s6s7N=(S,T,F)S={s0,…,s9}T={t1,…,t8}F={(s1,t1),(s0,t1),(s0,t2),(s2,t2),……(t5,s1),(t8,s0),(t7,s2)}棋盘,还需要说明什么?30MatrixRepresentationofaNetbeginsend_mailwrite_resttype_ma
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025仓库主管工作总结
- 2025届广西桂林、百色、梧州、崇左、北海五市高三下学期第六次检测化学试卷含解析
- 2025年生物质压缩成型设备项目发展计划
- 四年级数学(简便运算)计算题专项练习与答案
- 2025年输油泵热力机械项目发展计划
- 压疮相关护理因素分析
- 心衰患者营养护理
- 陕西财经职业技术学院《海洋有机化学》2023-2024学年第二学期期末试卷
- 陕西青年职业学院《工业通风与除尘》2023-2024学年第二学期期末试卷
- 随州职业技术学院《铁路货运组织与技术》2023-2024学年第二学期期末试卷
- 游戏测试员工作总结
- DL∕T 5046-2018 发电厂废水治理设计规范
- DL∕T 1084-2021 风力发电场噪声限值及测量方法
- 知识点 4.4 206系列转向架(一)(二)课件讲解
- 企业并购财务风险分析及控制
- 铝模工程劳务承包合同协议书
- 2024年高考数学1卷对高中数学教学的启发
- 2024年广西中考语文试卷真题(含官方答案及逐题解析)
- 2024年中国邮政集团有限公司校园招聘考试试题参考答案
- 2024年黑龙江省哈尔滨市中考二模化学试题
- 2024糖尿病酮症酸中毒诊断和治疗课件
评论
0/150
提交评论