版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
闻立杰清华大学软件学院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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 乐清2022年事业编招聘考试模拟试题及答案解析16
- 2026届辽宁省葫芦岛市高三上学期期末考试历史试题(含答案)
- 邵阳职院考试题库及答案
- 钳工知识竞赛试题及答案
- 辩论培训课件
- 北师大版数学三年级上册期末评价(A卷)(含答案)
- 四川省绵阳市游仙区2024-2025学年八年级上学期期末地理试题(含答案)
- 辅警特色培训课程
- 2025 小学三年级科学下册保护植物的重要性教育课件
- 2026年深圳中考语文考前15天冲刺试卷(附答案可下载)
- 江西省婺源县联考2026届数学七年级第一学期期末学业水平测试试题含解析
- 2025至2030水蛭素产品行业发展研究与产业战略规划分析评估报告
- 非煤矿山安全员题库及答案解析
- 餐饮连锁加盟店标准运营手册
- 军人翻墙导致的危害课件
- 园区运营年终汇报
- 数据中心设备采购管理实施计划
- (2025年标准)公司基地农户协议书
- 2025时事政治必考题50题(含答案)
- 新消防法宣贯课件内容
- 电网工程造价培训课件
评论
0/150
提交评论