- 1、本文档共35页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《SWARM for Java 教程》.pdf
DRAFT
jSIMPLEBUG:
a Swarm tutorial for Java
Charles P. Staelin
Smith College
Northampton, MA
April 2000
based on OjbectiveC code and original text by
Chris Lanton Swarm development team
Santa Fe Institute, NM
DRAFT
8:00 AM 04/14/00
jSimpleBug: a Swarm tutorial for Java
Introduction
This tutorial takes the user through the development of a Swarm model using the Java
programming language. The model itself is a very simple one, but the application we
build step by step around it makes use of a lot of the functionality of Swarm and
demonstrates many of Swarms features. This Java-based tutorial borrows heavily from
an earlier Objective-C-based tutorial by Chris Lanton and the Swarm development
team. Indeed, the Java code is pretty much a loose translation of their Objective-C code
and portions of the text are theirs as well. There are a number of changes, however, to
reflect this tutorials focus on using Swarm with Java rather than Objective-C.
We start out with a very simple Swarm simulation, one agent, a SimpleBug, taking a
random walk on the X,Y plane. Through a progression of models we increase the
number of agents and introduce basic object-oriented and Swarm-style programming in
Java. The final version implements an experiment in which multiple invocations of the
SimpleBug model are created, run, analyzed, reported on, and dropped. Along the way,
we introduce many of the functions that Swarm provides for creating and interacting
with multi-agent, artificial worlds. Although this is a relatively simple exercise,
hopefully it will show how easy it can be to build fairly complex models from the
simple building blocks provided by Swarm.
There are
您可能关注的文档
- 《QSI-018_LAMP成品入库、出货检验工作指引》.pdf
- 《Quality analysis on 3D building models reconstructed from airborne laser 》.pdf
- 《Quantum Dot Solar CellsSemiconductor Nanocrystals As Light Harvesters》.pdf
- 《QUANTUM Fluctuation in small laser USC》.pdf
- 《Quicksheet-Level2watermark》.pdf
- 《QX5241高端电流检测2MHz高亮度LED驱动器》.pdf
- 《QX5305升压型大功率LED恒流驱动器》.pdf
- 《QX6101自供电降压型LED恒流驱动器》.pdf
- 《QX6102内置NPN降压型LED恒流驱动器》.pdf
- 《raising_the_linguistic_accuracy_level_of_advanced_L2_writers》.pdf
- 《System Level Overview of the Hypergolic GelledPropellant Lab (GPL)》.pdf
- 《System level simulation of LTE networks》.pdf
- 《System-Level ESD Protection Guide (系统级静电放电保护指南)》.pdf
- 《S系列斜齿-蜗杆减速机》.pdf
- 《T-matrix computations of light scattering by nonspherical particles 1996_Mishchenko_etal_2》.pdf
- 《T. S. Eliot and The Waste Land》.ppt
- 《T. S. Eliot The Waste Land》.ppt
- 《Taking the Digital Transformation to the Next Level》.pdf
- 《Taxation of Land in Austria》.pdf
- 《TCL王牌液晶电视LCD40V8图纸》.pdf
最近下载
- 信号与系统(第三版)上下册郑君里课后习题答案详解.pdf
- 2025年3月-7月深入贯彻中央八项规定精神学习教育进度计划表+八项规定精神学习教育学习计划表格.doc VIP
- 七猫中文网投稿申请表.pdf
- 2024年全球及中国锂电铜箔行业头部企业市场占有率及排名调研报告djs.docx
- 更换引流袋技术操作.pptx VIP
- ISO22000-2018食品安全管理体系:食品链中各类组织的要求(内部翻译稿).docx
- 《2014土木工程建筑工程技术毕业设计任务书.doc VIP
- 2024益阳市安化县事业单位招聘考试真题及答案.docx
- 2019快速动态响应同步调相机组验收规范第7部分:润滑油系统.pdf
- 九年级物理电学综合复习课件-苏科版.ppt VIP
文档评论(0)