




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
RepastTheRepast3familyoftoolsistheprecursortoRepastSimphonyRepastforJavaRepastfortheMicrosoft.NETframework,andRepastforPythonScriptingRepastSimphony(RepastS)isinpureJavaExtendstheRepastportfoliobyofferinganewapproachtosimulationdevelopmentandexecutionAsetofadvancedcomputingtechnologiesforapplicationssuchassocialsimulationJavaAPIsaswellasGUIsforrunninganddevelopingmodelsandEclipsepluginRepastTheRepast3familyoft1Repasthomepage:/
SeverallinksontherightofthepagePapersDocumentationOn-lineintroductorytutorial:showsyouhowtousetheinterfacetocreatemodelsComeswiththedownload,installedas…\RepastSimphony-1.2.0\docs\GettingStarted.pdfTheHTMLversionisinthefolder…/RepastSimphony-1.2.0/docs/tutorial/SIM/Repasthomepage:http://repas2RepastSimphonyDevelopmentEnvironment:HowtosetupanEclipsedevelopmentenvironmentforRepast.Thiscomeswiththedownload,andisinstalledas
…\RepastSimphony-1.2.0\eclipse\andthefile…\RepastSimphony-1.2.0\eclipse\readme\readme.html
RepastSimphonyReference:CodingtheAPIsThiscomeswiththedownload,andisinstalledas…\RepastSimphony-1.2.0\docs\Reference.pdfTheHTMLversionisinthefolder…\RepastSimphony-1.2.0\docs\reference\SIMRepastSimphonyDevelopmentEn3FeaturesofRepastSimphonyFluidmodelcomponentdevelopmentusinganymixtureofJava,Groovy,andaflowchartinterfaceGroovy:adynamic/scriptinglanguagefortheJavaPlatformasanalternativetoJavaFeaturessimilartothoseofPython,Ruby,PerlLibrariesforgeneticalgorithmsneuralnetworksregressionEstimateparameterstogiveabestfitforthedata—e.g.,leastsquaresrandomnumbergenerationspecializedmathematicsFeaturesofRepastSimphonyFlu4AnautomatedMonteCarlosimulationframeworkReliesonrepeatedrandomsaplingUsedwhenit’sinfeasible/impossibletocomputeanexactresultwithadeterministicalgorithmAnautomatedMonteCarlosimul5Automatedconnectionstooptionalexternaltools,includingpluginstotheRstatisticsenvironment(alternativetocommercialSPSS)*ORAriskassessmenttoolGivensocial,knowledgeandtasknetworkinfo,findthosepeople,skillsorknowledgeandtaskscriticalforperformanceorinfosecurityPajeknetworkanalysisprogramJoSQLforperformingSQLqueriesoncollectionsofJavaobjectstheVisAD(VisualizationforAlgorithmDevelopment)scientificvisualizationpackage,AJavacomponentlibraryforinteractiveandcollaborativevisualizationandanalysisofnumericaldatatheWekadataminingplatform,MachinelearningalgorithmsfordataminingtasksthatcanbeapplieddirectlytoadatasetorcalledfromJavacodemanypopularspreadsheetsMATLABAutomatedconnectionstooptio6FullintegrationwiththeJUNG(JavaUniversalNetwork/GraphFramework)networkmodelinglibraryAnextendiblelanguageforthemodeling,analysis,andvisualizationofdatathatcanberepresentedasagraphornetworkMicrosoftExcelspreadsheetsUCINETDLfileimportingAcomprehensivepackagefortheanalysisofsocialnetworkdata($40forstudents)Geographicalspacesincluding2Dand3DGISsupportFullintegrationwith7InfofromtheRepast3Website/repast_3/index.htmlPapersS.Deschamp,Univ.ofWellingtonRepasttosimulateaknowledgenetworkinvolvingheterogeneousagents—e.g.,smallandmediumenterprises,universities,publicresearchinstitutesHowco-operativeresearchstrategiescanbeimplementedamongagentswithdifferentobjectivesandrewardsHowthisaffectsthedynamicsofinnovationHowagentsevolveandconvergeTheimpactatthesystemlevelInfofromtheRepast3Website8OwenDensmoreofSunMicrosystemsRepasttomodelselforganizingnetworkswithinthecontextoftheLocalKnowledgeNetworkingprojectSeekstoestablishcomputingsessionswithoutcentralcontrol,thusmoreadaptiveduringfailureandaremorerobustPropagaterequestsviaalternativetechniques(e.g.,ringsofneighbors)OwenDensmoreofSunMicrosyst9TutorialsHowtoDocumentationThesemostlyrelatetousingtheAPIsandareallbriefThirdPartyTutorialsOfvariablequalitySeveralofthelinksaredeadSeeespeciallythelinktoTesfatsion’stutorial(butRepastJ)Tutorials10ExamplesJavaWebStart(.jnlp)filesClickthelinkClickOKintheresultingwindow,askingwhethertoopenitwiththeJavaWebStartLauncherGetacontrolbarandawindowWindowwithtabsforParameters:setthevaluesforthemodelparameters(seeexamples,below)CustomActions:controlsforthesimulationRepastActions:built-inRepastfunctionality—e.g.,makingmovies,editchartsExamples11ControlbarThecontrolicons,lefttoright:LoadModelMultipleRunsStartStartStepInitializeStopPauseSetupModelViewParametersExitFirststepacoupleoftimes,thenstart,andpausetoinspectagivenstate,thensteporstartagainControlbarThecontrolicons,12BasicGridExamples
HeatbugsSeetheSwarmdescription:/examples-heatbugs.htmlParametertabsselectedSimulationafterawhileBasicGridExamplesParameter13BasicGridExamples(cont.)HeatbugsonHexagons(Samereferenceasprevious)Hypercycles(Seethereference)GameofLife(SeeWikipedia,“Conway’sGameofLife”)MousetrapSeetheSwarmdescription:
/examples-mousetrap.htmlSugarScape(Thereferenceisgiven,butalsoGoogleit.)NetworkExamplesJiggleToy(Explanationgiven)FriendshipNetwork(Linktoreference)GeographicInformationSystems(GIS)ExamplesGISAgents(Blankscreen)SystemDynamicsExamplesRabbitPopulation(Briefexplanationandlinktoreference)BasicGridExamples(cont.)14InstallingRepastSimphonyGoto/
Underheading“TheLatestRepastSimphonyRelease”atthetopofthepage,clickon“WindowsInstaller”Intheshortwizard-basedinstallationprocess,acceptallthedefaultsInstallingRepastSimphonyGot15RunningaRepastSimphonyExampleAllprogramsRepastSimphonyRepastSimphonyIDEAcceptthisdefault
InthePackageExplorerpanel(leftsideofwindow),expandtherepast.simphony.demosfolderRunningaRepastSimphonyExam16TheModel:simplevariationofpredator-preybehaviorusing3agenttypes:wolves,sheep,andgrassBoththewolvesandsheepmoverandomlyonagridMovementhasacost:lostenergy.WolvesandsheepneedtoeatfoodtoreplenishtheirenergyTheydieoncetheirenergylevelreaches0WolvespreyonsheepMayeatthemifthe2arelocatedinthesamespatialpositionSheepmayeatgrassiflocatedonapatchwithlivinggrassOnceeaten,grassneedstore-growbeforebeingeatenagainRe-growrate:countingdownafterthegrasshasbeeneatenReproductionismodeledbyarandomprocessCreatesachildfromtheparentDividestheenergyoftheparentagentinhalfAssignstheenergyequallytotheparentandchildTheModel:simplevariationof17RunRunConfigurationInthepanelonleft,clickonPredatorPreyDon’tmodifythedefaultsClickRunRunRunConfigurationDon’t18Seethe4tabsbelowthepanelontheleftTheScenarioTreeiscurrentlyselectedandisdisplayedinthepanelSeethe4tabsbelowthepanel19ClicktheRunOptionstabMovesabovetheScenarioTreetabTheRunOptionspanelnowoccupiestheleftsideofthewindowTheScheduleTickDelaysliderinitiallyindicates0msec.Moveitto,say,6msec.NowclicktheParameterstabParametersPaneltoappearsFornow,justacceptinitialvaluesCanchangesuchparametersastheinitialnumberofsheep,whatasheepgainsfromagivenamountoffood,andthereproductionrateofthewolves
ClicktheRunOptionstabCan20BackintheScenarioTree,clickADisplayTheGeneralinterfaceisinitiallyselectedfromamongthe4optionsavailableintheleftpanelNoneedtochangeanyofthesevaluesTheAgentStyleandGridStyleinterfacesletyouspecifytheorderinwhichtheagenticonsareoverlaidinthedisplay(andsomemoreadvancedthings)modifythesizeofthegridunitsspecifywhethergridlinesaretobedisplayedNoneedtomodifyanyofthis.TheSchedule…interfacelestyoumodifyhowthedisplayisupdatedrelativetothesimulation.Again,justacceptdefaultsBackintheScenarioTree,cli21NowclickOKInthemodelwindow,clicktheStepRuniconatthetop(doublearrowpointingright)Thescenarioisdisplayedinthelargepanel.ClicktheStepRuniconseveraltimestostepthroughthesimulation.NowstopthesimulationbyclickingtheStopSimulationicon,asquarewithinacircle,justrightoftheStepRuniconNowclickOK22IntheScenarioTreeagain,doubleclickAChartInitially,theChartDataMappingsinterfaceisshown.GettheVisualSettinginterfacebyclickingtheoptionintheleftpanelNoneedtochangeanysettingineitherinterfaceClickOK.IntheSce
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 中國電動升降貨物梯行業市場規模及投資前景預測分析報告
- 2019-2025年中國農副產品行業市場調研分析及投資戰略咨詢報告
- 2020-2025年中國防彈運鈔車行業市場調研分析及投資前景預測報告
- 2025年度電競項目可行性研究報告
- 2025-2030年中國電解剝離液行業深度研究分析報告
- 2024年全球及中國DNA和RNA聚合酶行業頭部企業市場占有率及排名調研報告
- 建筑圍欄板行業深度研究分析報告(2024-2030版)
- 中國新能源環衛車行業發展監測及投資戰略研究報告
- 建筑材料買賣合同
- 迪慶茶飲培訓教程課件
- 數據結構第2章-線性表
- 鐵路空心墩任意兩個截面砼方量計算自編公式
- 中建有限空間專項施工方案
- 華北理工選礦學課件03浮選-1浮選基本原理
- 冠寓運營管理手冊正式版
- 2022年珠海市金灣區體育教師招聘筆試試題及答案
- 畢業離校學生證遺失證明
- 智慧停車技術方案
- 土地整理質量評定表
- 【告知牌】某公司全套重大危險源告知牌(7頁)
- 中考數學復習專題二方程與不等式
評論
0/150
提交評論