⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swarm.installbook.distrib.article.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>Overview of the Swarm Distribution</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Getting Started with Swarm"HREF="book468.html"><LINKREL="PREVIOUS"TITLE="Installing Swarm"HREF="swarm.installbook.install.article.html"><LINKREL="NEXT"TITLE="Reference Guide for Swarm 2.1.1"HREF="book930.html"></HEAD><BODYCLASS="ARTICLE"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.installbook.install.article.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="book930.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="ARTICLE"><H1><ANAME="SWARM.INSTALLBOOK.DISTRIB.ARTICLE">Overview of the Swarm Distribution</A></H1><DIVCLASS="SIMPLESECT"><H4CLASS="SIMPLESECT"><ANAME="AEN856">1. Libraries</A></H4><P>The main part of Swarm is a set of libraries, one per source    directory. Briefly, the directory organization is as    follows:</P><DIVCLASS="FORMALPARA"><P><B>lib, include, bin. </B>Installed    libraries, include files, and helper binaries.</P></DIV><DIVCLASS="FORMALPARA"><P><B>src. </B> Swarm library source    files.</P></DIV><P></P><UL><LI><DIVCLASS="FORMALPARA"><P><B>defobj. </B> Support          of Swarm style Objective C programming</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>collections. </B> Collection          library -- various objects that "collect" other objects          </P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>activity. </B>          Schedule execution mechanism -- the "process"</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>objectbase. </B>          Base class for simulated objects -- the "agents"</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>space. </B> Spatial          environment library (currenly mostly 2D spaces are          supported).</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>random. </B> Random          number library.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>simtools. </B>          Collected tools (non-GUI) useful for developing Swarm          simulations</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>simtoolsgui. </B>          Further tools useful for interactive "GUI-oriented"          simulations</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>gui. </B> Graphical          Interface library</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>analysis. </B>          Objects that help with data processing</P></DIV></LI></UL></DIV><DIVCLASS="SIMPLESECT"><H4CLASS="SIMPLESECT"><ANAME="AEN906">2. Sample applications</A></H4><P>In addition, there is a set of sample Swarm applications      that are distributed separately.  Applications are the best      current roadmap for the Swarm code: much of what is possible      with Swarm is demonstrated in the sample applications.  The most      important applications are:</P><P></P><UL><LI><DIVCLASS="FORMALPARA"><P><B>template. </B>Template simulation. The code itself here is trivial, but            provides a nice base for new Swarm programmers to start            from.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>tutorial. </B>A          step-by-step tutorial to using Swarm.  The tutorial starts          with a simple implementation of a cellular automaton in          ordinary "C" and proceeds up to a full-blown GUI-oriented          Swarm application in Swarm Objective C.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>heatbugs. </B>Heatbugs, our            canonical, simple complex system. The code here is thoroughly            commented for use as a guide to swarm programming.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>mousetrap. </B>Mousetrap is            a discrete event simulation of a room full of mousetraps            loaded with ping-pong balls.  The triggering of one of the            traps sets off a chain reaction supposedly similar to fission.            It is also thoroughly commented.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>market. </B>Market is an            Objective-C wrapped piece of legacy code originally written in            C.  It is a useful example of how to convert legacy code into            Swarm; but, it is not very instructive on Swarm programming in            general.</P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.installbook.install.article.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="book930.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Swarm</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book468.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Reference Guide for Swarm 2.1.1</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -