Repast使用指南5.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Repast使用指南-5本文档是由同济大学陆云波和吴峰翻译,如转载,请注明,谢谢!5.How to create and use a Schedule 中英文对照 The API documentation for the Schedule and ScheduleBase classes is the source for details about the Schedule object and should be used in conjunction with this document and the demonstration source code. * j0 s, r) |# d# P??DAs with the Swarm toolkit the Schedule object is responsible for all the state changes within a Repast simulation. Consequently, any changes you want to occur in a simulation must be scheduled with a Schedule object. 仿真,仿真论坛,仿真软件,物流仿真,供应链仿真,生产仿真,系统仿真,流程仿龙,swarm,netlogo,repast3 U- J8 b b: o Schedule 和 ScheduleBase类的API文件是关于时刻表对象详细说明的资源,应在此文件与实例源码关联时使用。 0 H: I. d* t- y ^0 `/ r; D7 a7 j仿真,仿真论坛,仿真软件,物流仿真,供应链仿真,生产仿真,系统仿真,流程仿真,arena,anylogic,automod,extend,em-plant,flexsim,promodel,witness,乐龙,swarm,netlogo,repast带有Swarm工具包的时刻表对象是负责在Repast仿真中所有的声明改变。因此,一些在仿真中你想出现的改变必须被一个时刻表对象安排。 What is Scheduled At its heart scheduling consists of setting up method calls on objects to occur at certain times. However, these method calls must be wrapped by sub-classes of the BasicAction class. A BasicAction consists of some variables used by the Scheduler and an abstract public void execute() method. Any classes that sub-class a BasicAction must implement this method. It is in this method that the actual method call or calls to be scheduled should occur. You can write a sub-class of BasicAction yourself, or have Repast create one for you. 仿真,仿真论坛,仿真软件,物流仿真,供应链仿真,生产仿真,系统仿真,流程仿真,arena,anylogic,automod,extend,em-plant,flexsim,promodel,witness,乐龙,swarm,netlogo,repast4 R% Q6 S$ N3 L \) H+ f 在它的核心,时序表包括设定对象的方法调用在特定时间发生。然而,这些方法调用必须通过BasicAction类的子类封装。一个BasicAction包括一些被Scheduler一个抽象的public void execute()方法使用的变量。一些类象BasicAction子类必须执行这种方法。在这个方法中,实际的方法调用,或被时刻化的调用应表现出来。你可以自己编写BasicAction子类,或让Repast为你生成一个。 0 g; i/ W! I; A % E* p9 q) R* j8 _9 g5 {) v1 h最大的系统仿真交流论坛 So, for example, if what you want to schedule is the method call step() on an Agent object called agent, you can either write a class that

文档评论(0)

bm5044 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档