swarm.activity.singletongroups.protocol.html
来自「set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用」· HTML 代码 · 共 226 行
HTML
226 行
<HTML><HEAD><TITLE>SingletonGroups</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="Activity Library"HREF="swarm.activity.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="ScheduleActivity"HREF="swarm.activity.scheduleactivity.protocol.html"><LINKREL="NEXT"TITLE="SwarmActivity"HREF="swarm.activity.swarmactivity.protocol.html"></HEAD><BODYCLASS="REFENTRY"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.activity.scheduleactivity.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference III. Activity Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.activity.swarmactivity.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ACTIVITY.SINGLETONGROUPS.PROTOCOL">SingletonGroups</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN10490"></A><H2>Name</H2>SingletonGroups -- Indicates that an action group should be created for every time value which is present.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN10493"></A><H2>Description</H2><P> The SingletonGroups option indicates that an action group should be created for every time value which is present, even when only a single action is present at the time value.</P><P> Ordinarily, a concurrent action group is created to process actions at the same timestep only if more than one action is scheduled at that timestep. The overhead of these action groups is relatively low, because it just creates a single new object to which actions are directly linked, but it is still faster to avoid creating them if only one action is present at a timestep. If a custom subclass is being provided however, it may need to examine the actions at a timestep even if there is only one.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN10497"></A><H2>Protocols adopted by SingletonGroups</H2><P>None</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN10500"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN10502"></A><H3>Phase: Setting</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.SINGLETONGROUPS.METHOD.PS.M856"></A><P></P>- (void)<BCLASS="FUNCPROTOTYPE">setSingletonGroups:</B> (BOOL)<VARCLASS="PDPARAM">singletonGroups</VAR> <BR><P></P></DIV></LI></UL></DIV><DIVCLASS="REFSECT2"><ANAME="AEN10514"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.SINGLETONGROUPS.METHOD.PU.M487"></A><P></P>- (BOOL)<BCLASS="FUNCPROTOTYPE">getSingletonGroups</B><BR><P></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.activity.scheduleactivity.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.activity.swarmactivity.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ScheduleActivity</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.activity.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">SwarmActivity</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?