用AnyLogic進行多智能體仿真PPT課件_第1頁
用AnyLogic進行多智能體仿真PPT課件_第2頁
用AnyLogic進行多智能體仿真PPT課件_第3頁
用AnyLogic進行多智能體仿真PPT課件_第4頁
用AnyLogic進行多智能體仿真PPT課件_第5頁
已閱讀5頁,還剩10頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、之前的之前要看的視頻 觀看視頻:航天神五、神六發(fā)射時,飛行控制室實況錄相。 注意,哪些地方應用了仿真技術 為什么要用?不用行不行?第1頁/共15頁5.1 例子:熟讀唐詩三百首,不會作詩也會呤 銷售渠道的模擬: 背景:This is an Agent Based model of a sales process in a business where clients are to be reviewed by the company: e.g. this could be insurance, banking,leasing, etc. The process has several stage

2、s that are modeled by different states in the statechart of a Customer object: initial contact, quote, credit review. The customer may leave on each stage, and the company, in turn, may reject the customer. The model helps you to examine how the skill level and size of the sales force and the credit

3、 review team affect the efficiency of the whole process.第2頁/共15頁5.2 Agent的形成 A初始狀態(tài)和屬性 Prospect的最初位置: Getx和getY第3頁/共15頁狀態(tài)圖 State chart: Agent的各種狀態(tài)在這里用圖形方式表達, 狀態(tài)圖中,將各種狀態(tài)變化時的行為或者屬性更改在此處寫出,這里(可能需要用到各種Anylogic里的編程對象) 例如:潛在客戶prospect 的變化狀態(tài)。第4頁/共15頁在mainmodel中進行調(diào)用 用get返回對模型中各種對象的引用 在不同的狀態(tài)圖中對這些對象進行編程和調(diào)用第5頁/

4、共15頁各種變量和參數(shù)(二者有何區(qū)別?) Main model中的參數(shù)與變量 各個不同的狀態(tài)圖中的參變量 統(tǒng)計狀態(tài)與表示 思考:哪些變量要放在state chart中哪些要放在Main model中?第6頁/共15頁集成運行 展示:sales funnel第7頁/共15頁5.3具體的學習 State chart Entry Point、Final stateStatechart entry point is used to indicate the initial state of the statechart. There should be exactly one statechart e

5、ntry point defined for each statechart. You may define several independent statecharts for the same active object, each one describing some particular process. In this case AnyLogic will distinguish how many distinct statecharts there are by analyzing the number of statechart entry points. 第8頁/共15頁G

6、eneral properties of statechart entry point Name The name of the statechart entry point. The name is used to identify and access the entry point from code. Show name If selected, the name of the statechart entry point is displayed on a presentation diagram. Ignore If selected, the statechart entry p

7、oint is excluded from the model. Public Defines, whether the statechart entry point is visible on a presentation diagram of the owner of this active object class. Since statechart elements cannot appear on owner class presentation, this checkbox is always deselected and disabled. Show at runtime If

8、selected, the statechart entry point is visible on a presentation at runtime. Action Sequence of Java statements executed when the statechart entry point forwards the control to an initial state.第9頁/共15頁stateState represents a location of control with a particular set of reactions to conditions and/

9、or events. A state can be either simple or, if it contains other states, composite. Control always resides in one of simple states, but the current set of reactions is a union of those of the current simple state and of all composite states containing it i.e., a transition exiting any of these state

10、s may be taken.第10頁/共15頁Transition denotes a switch from one state to another. A transition indicates that if the specified trigger event occurs and the specified guard condition is true, the statechart switches from one state to another and performs the specified action. When this occurs, the trans

11、ition is taken. 第11頁/共15頁轉(zhuǎn)移發(fā)生時,執(zhí)行的事件選擇 A transition may freely cross simple state and composite state borders. If the source of a transition lies either on or inside a state, and the destination of that transition lies outside of the state, then that state is considered exited by the transition. If

12、such a transition is taken, the exit action of the exited state is executed. If the source of a transition lies outside a state, and the destination of that transition lies either on or inside the state, then that state is considered entered by the transition. If such a transition is taken, the entr

13、y action of the entered state is executed. In case a part of a transition lies inside a state, but both source and destination are outside the state, this state is considered neither entered nor exited 第12頁/共15頁分支選擇:branch represents a transition branching and/or connection point. Using branches , can create a transition that has more than one destination state, as well as several transitions that merge together to perform a common action. When control passes a branch, its action is executed, and the

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論