Data decision diagrams for Petri net analysis

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

DataDecisionDiagramsforPetriNetsAnalysisJean-MichelCouvreur1,EmmanuelleEncrenaz2,EmmanuelPaviot-Adet2,DenisPoitrenaud2,andPierre-Andr´eWacrenier11LaBRI,Universit´eBordeaux1,Talence,Francename@labri.fr2LIP6,Universit´ePierreetMarieCurie,Paris,Francename@lip6.frAbstract.Thispaperpresentsanewdatastructure,theDataDeci-sionDiagrams,equippedwithamechanismallowingthedefinitionofapplication-specificoperators.Thismechanismisbasedoncombinationofinductivelinearfunctionsofferingalargeexpressivenesswhilealle-viatingfortheusertheburdenofhardcodingtraversalsinashareddatastructure.WedemonstratethepertinenceofoursystemthroughtheimplementationofaverificationtoolforvariousclassesofPetrinetsincludingselfmodifyingandqueuingnets.Topics.PetriNets,DecisionDiagram,Systemverification.1IntroductionThedesignandverificationofdistributedsystemspresentascientificandtech-nicalchallengethatmustbemetbyacombinationoftechniquesthatscaleuptothecomplexityofsystemsproducedinindustrialapplications.Simulationisalreadyarecognizedtoolwithinindustriesdealingwithcomplexsystemssuchastelecommunicationsoraeronautics.Evenifanacceptabledegreeofconfidencecanbereachedviathistechnique,exhaustivenesscannotgenerallybereachedduetothenumberofpossiblestatesofthesesystems.Inthe90’s,theelectronicindustries,insearchoftoolstoincreasetheirconfi-dencelevelintheirfinalproduct,adoptedtheBinaryDecisionDiagrams(BDDs)[?]asawaytodealwiththehighcomplexityoftheircomponents.BDDcanbeviewedasatreestructure:binaryvariablesinvolvedinstatesareordered,asetofnodesisassociatedtoeachvariableandthevariablevaluationsareasso-ciatedtothearcsbetweennodes.Whenimplemented,theuniquenessofBDDs,combinedwiththetreestructure,ensuresanefficienttechniquetodealwithnumerousstates[?,?].Thenexhaustivenesscouldbehandled,evenwithbillionsandbillionsofstatestoverify.TheBDDsexpressivepowerislargeenoughtodealwithalargeclassoffinitestatesystem.Evendynamicsystemscanbeverifiedusingsuchatechnique[?].Therefore,otherdomains,likeparallelsystemverification,triedtouseBDDstoverifycomplexsystems[?].Sincethenumberofvariablesofthestudiedsystemisacriticalparameter,numerousBDD-likestructureswerecreatedinordertoadaptthetreestructuretoparticularneeds[?,?].LikeBDDs,theshared-treestructuresareusuallystucktoapreciseinter-pretation.Therefore,dealingwithstatesofanewkindofmodelusuallyleadstothedesignofnewkindsofstructuresortonewkindsofoperatorsonexistingstructures.Inthispaper,anewtreestructure,theDataDecisionsDiagrams(DDDs),isintroduced.OurgoalistoprovideaflexibletoolthatcanbeeasilyadaptedtoanykindofmodelandthatoffersthesamestoragecapabilitiesastheBDD-likestructures.Unlikepreviousworksonthesubject,operatorsonthestructurearenothard-coded,butaclassofoperators,calledhomomorphisms,areintro-ducedtoallowtransitionrulescoding.Aspecialkindofhomomorphisms,calledinductivehomomorphisms,allowstodefine”local”homomorphisms,i.e.homo-morphismsthatonlyuseinformationlocaltoanodeinitsdefinition.Togetherwithcomposition,concatenation,union...operations,generalhomomorphismsaredefined.Inourmodel,anodeisassociatedtoavariableandvaluationsareassociatedtoarcs.Thevariablesdomainisinteger,butwedonothavetoknowaprioribounds.AnothernicefeatureoftheDDDsisthatnovariableorderingispresupposedindefinition.Moreover,variablesarenotassumedtobepartofallpaths.Theyalsocanbeseenmanytimesalongthesamepath.Therefore,themaximallengthofapathinthetreeisnotfixed.ThisfeatureisveryusefulwhendealingwithdynamicmodelslikequeuingPetrinets,butalsowhenatemporaryvariableisneeded(cfthemechanismweusedtocodeselfmodifyingnetsfiringrules).Evenifaglobalvariableorderingisusefultoobtainanefficientstorage,thefactthatthisorderingisnotpartofthedefinitionintroducesagreatflexibilitywhenoneneedstoencodeastate.Sinceweusetechniquesthathavebeenshownefficienttostoresetofstates,sincestatecodingisveryflexibleandsinceoperatordefinitionisbasedonawell-foundedtheoreticalfoundation,DDDisatreestructurethatcanbeeasilyadaptedtoanykindofcomputationalmodel.Thispaperisstructuredthefollowingway:Section2describesDDDs,thehomomorphisms,andgivessomehintsontheimplementationwemadeinourprototype.Section3describesapossibleuseofDDDsforordinaryPetrinetsandsomeofthemostpopularextensions(inhibitorsarcs,capacityplaces,resetarcs,selfmodifyingnets,queuingnets).Section4givesconclusionswithperspectives.2DataDecisionDiagrams2.1DefinitionsofDDDsDataDecisionDiagrams(DDD)aredatastructuresforrepresentingsetsofse-quencesofassignmentsoftheforme1=x1;e2=x2;en=xnwhereeiarevariablesandxiarevalues.Whenanorderingonthevariablesisfixedandthevariablesareboolean,DDDcoincideswiththewell-knowBinaryDecisionDi-agram.Ifanorderingonthevariablesistheonlyassumption,DDDsarethespecializedversionoftheMulti-valuedDecisionDiagramsrepresentingcharac-teristicfunctionofsets[?,?].ForDataDecisionDiagram,weassumenovariableorderingand,evenmore,thesamevariablemayoccurmanytimesinanassign-mentsequence,allowingtherepresentationofdynamicstructures.Traditionally,decisiondiagramsareoftenencodedasdecisiontrees.Figure1,left-handside,showsthedecisiontreeforthesetofsequencesofassignmentsA=f(a=1;a=1);(a=1;a=2;b=0)

1 / 20
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功