57Rapid prototyping of large multi-agent systems t

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

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

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

资源描述

RapidPrototypingofLargeMulti-AgentSystemsthroughLogicProgrammingW.Vasconcelos(wvasconcelos@acm.org)DepartmentofComputingScience,UniversityofAberdeenAberdeenAB243UE,UnitedKingdomD.Robertson(dr@inf.ed.ac.uk)CentreforIntelligentSystemsandtheirApplications(CISA)DivisionofInformatics,UniversityofEdinburghAppletonTower,CrichtonStreet,EdinburghEH89LE,UnitedKingdomC.Sierra(sierra@iiia.csic.es),M.Esteva(marc@iiia.csic.es)andJ.Sabater(jsabater@iiia.csic.es)Arti cialIntelligenceResearchInstitute(IIIA)ConsejoSuperiordeInvestigacionesCient cas(CSIC)CampusUAB,08193,Bellaterra,Catalonia,SpainM.Wooldridge(mjw@csc.liv.ac.uk)DepartmentofComputerScience,UniversityofLiverpoolLiverpoolL697ZF,UnitedKingdomAbstract.Prototypingisavaluabletechniquetohelpsoftwareengineersexplorethedesignspacewhilegaininginsightonthedynamicsofthesystem.Inthispaper,wedescribeamethodforrapidlybuildingprototypesoflargemulti-agentsystemsusinglogicprogramming.Ourmethodadvocatestheuseofadescriptionofallpermittedinteractionsamongthecomponentsofthesystem,thatis,theprotocol,asthestartingspeci cation.Theprotocolisrepresentedinawaythatallowsustoautomaticallycheckfordesirablepropertiesofthesystemtobebuilt.Wethenemploythesamespeci cationtosynthesiseagentsthatwillcorrectlyfollowtheprotocol.Thesesynthesisedagentsaresimplelogicprogramsthatengineerscanfurthercustomiseintomoresophisticatedsoftware.Ourchoiceofagentsaslogicprogramsallowsustoprovidesemi-automaticsupportforthecustomisationactivity.Inourmethod,aprototypeisaprotocolwithasetofsynthesisedandcustomisedagents.Executingtheprototypeamountstohavingtheseagentsenacttheprotocol.Wehaveimplementedanddescribedadistributedplatformtosimulateprototypes.1.IntroductionRapidprototypingo ersameanstoexploreessentialfeaturesofaproposedsystem[9,27,35],promotingearlyexperimentationwithalternativedesignchoicesandallowingengineerstopursuedi erentsolutionswithouteciencyconcerns[9].In[25]we ndreportsofmanysuccessfulexperimentsofrapidprototyping.Multi-agentsystems(MASs,forshort)arehardertodesignthancentralisedsystems[38]andc2003KluwerAcademicPublishers.PrintedintheNetherlands.main.tex;19/11/2003;9:51;p.12W.Vasconcelosetal.toolsandmethodstosupportthedevelopmentofMASsareinurgentneed[30].InthispaperwedescribeamethodforrapidlybuildingprototypesoflargeMASsusinglogicprogramming.OurapproachisbasedonaglobalprotocoldepictingallinteractionsthattakeplaceintheMAS.Theformatandorderofallinteractionsareformallyspeci edasakindofnon-deterministic nitestatemachine.Thisformalismcanbeusedtocheckfordesirablepropertiesintheprotocol.Anadvantageweexploitisthatthisglobalprotocolcanbeusedtoautomaticallysynthesisetheagentsthatwillcomprisethesystem.OurapproachtoprototypingMASsreectsthemodellingmethodologyintroducedin[61]andconsistsofthefollowingsteps:1.DesignofaGlobalProtocol{inthisinitialstepweprescribethedesignofaglobalprotocol,thatis,aprecisedescriptionofthekindsandorderofmessagesthatthecomponentsoftheMAScanexchange.Forthisdescriptionwehaveusedaformofnon-deterministic nitestatemachines,calledelectronicinstitutions(orsimplye-institutions)[18,40].WeexplainmoreaboutthisinSection2.2.SynthesisandCustomisationofAgents{thisstepaddressestheautomaticsynthesisofagentsaslogicprogramscomplyingwiththeglobalprotocol.Althoughsimple,thesesynthesisedagentsareinstrictaccordancewiththeprotocolfromwhichtheyoriginate:theirbehavioursconformtothespeci cationoftheglobalprotocol.ToallowforthevariabilityofthecomponentsofaMASandtohelpengineersexplorethedesignspaceofindividualagents,weo ermeanstocustomisethesynthesisedagentsintomoresophisticatedpiecesofsoftware,usinglogicprogramtransformationtechniques.WeexplainthisstepinSection3.3.De nitionofPrototype{aprototypeconsistsofane-institutionandasetofcorrespondingcustomisedagents.Designersmaydelib-eratelyleaveemptyslotsinthecustomisedagentswheredi erentdesignpossibilitiesmaybepursued.Theseslotscanbecompleteddi erentlygivingrisetodistinctprototypes.InSection4wede-scribethisstep.4.SimulationandMonitoringofthePrototype{thelaststepisthesimulationoftheprototypeandthecollectionofresults.Weo ermeansfortheenactmentofanelectronicinstitution:theagentsarestartedasself-containedandasynchronousprocessesthatcom-municatebymeansofmessage-passing.ThisstepisdescribedinSection5.main.tex;19/11/2003;9:51;p.2RapidPrototypingofLargeMASsthroughLogicProgramming3ThesestepsareillustratedinFigure1.Inthediagram,wealsoincludedsimulationMASprototypedefinitionofsynthesis&customisationResultsAgentGlobalProtocolResultsverificationFigure1.OverviewofProposedMethodforRapidPrototypingaveri cationactivity:thesamespeci cationfortheglobalprotocolcanbeusedtocheckfordesirableproperties(ortheabsenceofundesirableproperties){weexplainthisstepinSection2.WedescribethestepsaboveinSections2to5.WecompareourapproachwithrelatedworkinSection6andinSection7wediscusstheideaspresented,drawconclusionsandgivedirectionsforfuturework.1.1.ATypicalScenarioforMASPrototypingMASsconsistofmanycomponentswhichinteractdynamically,eachwithitsownthreadofcontrol,andengagingincomplexcoordinationprotocols.MASsarem

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

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

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

×
保存成功