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

📄 swarm.simtools.sgml.reference.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>Simtools Library</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="Reference Guide for Swarm 2.1.1"HREF="book930.html"><LINKREL="PREVIOUS"TITLE="General"HREF="swarm.random.generic.module.html"><LINKREL="NEXT"TITLE="AppendFile [Deprecated]"HREF="swarm.simtools.appendfile.protocol.html"></HEAD><BODYCLASS="REFERENCE"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.random.generic.module.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.simtools.appendfile.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="REFERENCE"><ANAME="SWARM.SIMTOOLS.SGML.REFERENCE"></A><DIVCLASS="TITLEPAGE"><H1CLASS="TITLE">VI. Simtools Library</H1><DIVCLASS="PARTINTRO"><ANAME="AEN15659"></A><TABLECLASS="SIDEBAR"BORDER="1"CELLPADDING="5"><TR><TD><DIVCLASS="SIDEBAR"><P><B>Overview</B></P><P>Simtools is the stdlib of Swarm. In other words, it is the      library where we have parked many miscellaneous classes which,      while very useful, are not specific enough to be placed in any      other library. So, for example, simtools contains InFile,      ObjectLoader and other I/O classes.  Simtools contains all      <ICLASS="EMPHASIS">non-GUI</I> classes - for the miscellaneous      classes that do depend on a GUI toolkit being present at      link-time, see the documentation for the <AHREF="swarm.simtoolsgui.sgml.reference.html">simtoolsgui</A> library.    </P></DIV></TD></TR></TABLE><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SWARM.SIMTOOLS.SGML.SECT1.DEPEND">1. Dependencies</A></H1><P>Following are the other header files imported by    &lt;simtools.h&gt;:<TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">#import &lt;objectbase.h&gt;</PRE></TD></TR></TABLE>      The <ICLASS="EMPHASIS">objectbase</I> library interface is      included to provide the basic object support. The      <ICLASS="EMPHASIS">random </I>library is <ICLASS="EMPHASIS">no longer      included</I> by default.  You will need to explicitly      include it to use the default random number generators.    </P><P>Special global functions - global.h. Users need to include      simtools.h in their code in order to call      <TTCLASS="LITERAL">initSwarm()</TT> but also in order to get access      to a set of important pre-initialized objects which are      generated in every simulation (e.g. <TTCLASS="LITERAL">      probeDisplayManager</TT>).    </P></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SWARM.SIMTOOLS.SGML.SECT1.COMPAT">2. Compatibility</A></H1><P></P><UL><LI><DIVCLASS="FORMALPARA"><P><B>1.0.5 -&gt; 1.1. </B>simtools has been split          into two: simtools and <AHREF="swarm.simtoolsgui.sgml.reference.html">simtoolsgui</A>.  The latter          now contains all the classes which were GUI-related, so that          users can compile and link pure-batch mode simulations          (i.e. simulations that don't require Tk/Tcl/BLT, Java AWT or          any GUI toolkit).</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B> 1.0.4 -&gt; 1.0.5. </B>GUISwarm now inherits from GUIComposite.  Because            GUIComposite handles the passthru of archiving keys to            tkobjc primitives, the method            setControlPanelGeometryRecordName is no longer needed;            instead, the macro SET_WINDOW_GEOMETRY_RECORD_NAME is            provided.</P></DIV></LI><LI><DIVCLASS="FORMALPARA"><P><B>1.0.3 -&gt; 1.0.4. </B>All functions maintain backward compatibility.  There            are additional features, however, and features previously            undocumented.</P></DIV></LI></UL></DIV></DIV><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT><AHREF="swarm.simtools.appendfile.protocol.html">AppendFile [Deprecated]</A> &#8212;  A class for appended file output.</DT><DT><AHREF="swarm.simtools.infile.protocol.html">InFile [Deprecated]</A> &#8212;  Class to perform file input.</DT><DT><AHREF="swarm.simtools.nselect.protocol.html">NSelect</A> &#8212;  A class to select exactly N elements at random from a collection.</DT><DT><AHREF="swarm.simtools.objectloader.protocol.html">ObjectLoader [Deprecated]</A> &#8212;  A class to load an object's instance variables from a file.</DT><DT><AHREF="swarm.simtools.objectsaver.protocol.html">ObjectSaver [Deprecated]</A> &#8212;  A class to save an object's instance variables to a file.</DT><DT><AHREF="swarm.simtools.outfile.protocol.html">OutFile [Deprecated]</A> &#8212;  A class to perform file output.</DT><DT><AHREF="swarm.simtools.qsort.protocol.html">QSort</A> &#8212;  A class to sort a collection.</DT><DT><AHREF="swarm.simtools.uname.protocol.html">UName</A> &#8212;  A class used to generate unique names (e.g. "critter1", "critter2" etc.)</DT><DT><AHREF="swarm.simtools.generic.module.html">General</A> &#8212;  General simulation tools</DT></DL></DIV></DIV><DIVCLASS="TITLEPAGE"><DIVCLASS="ABSTRACT"><P><B>Documentation and Implementation Status</B></P><P>The simtools library has undergone an upgrade to the status      of a library as of 1.0.4. This means the interface now conforms      to the library interfaces specifications, the format of the      documentation now reflects this. Other than new features, there      should be no affect on the user.</P></DIV><AHREF="swarm.simtools.generic.revhistory.html">Revision History (simtools)</A></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.random.generic.module.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.simtools.appendfile.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">General</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book930.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">AppendFile [Deprecated]</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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