亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? swarm.activity.sgml.reference.html

?? set for Swarm2.1是圣菲研究院的開(kāi)發(fā)人員對(duì)Swarm的特性及其使用描述的最為完備的指南性文檔。從這里可以獲得最細(xì)致的平臺(tái)說(shuō)明。
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<HTML><HEAD><TITLE>Activity 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.collections.generic.module.html"><LINKREL="NEXT"TITLE="Action"HREF="swarm.activity.action.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.collections.generic.module.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.activity.action.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="REFERENCE"><ANAME="SWARM.ACTIVITY.SGML.REFERENCE"></A><DIVCLASS="TITLEPAGE"><H1CLASS="TITLE">III. Activity Library</H1><DIVCLASS="PARTINTRO"><ANAME="AEN8749"></A><TABLECLASS="SIDEBAR"BORDER="1"CELLPADDING="5"><TR><TD><DIVCLASS="SIDEBAR"><P><B>Overview</B></P><P>The activity library is responsible for scheduling actions      to occur within a simulated world, and for making these actions      actually happen at the right time in the right order.  It      provides the foundation of dynamic, object-oriented simulation      within Swarm.    </P><P>Actions consist of messages to objects, calls to functions,      or groups of actions in some defined order.  The activity      library guarantees that all these actions, and the state changes      they produce, occur at predictable points in time.  Time is      defined by the relative order of actions, and may also be      indexed by the discrete values of a world clock.    </P></DIV></TD></TR></TABLE><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SWARM.ACTIVITY.SGML.SECT1.DEPEND">1. Dependencies</A></H1><P>Following are the other header files imported by      &lt;activity.h&gt;:</P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="PROGRAMLISTING">#import &lt;collections.h&gt;</PRE></TD></TR></TABLE><P>The activity library follows the Swarm <AHREF="swarm.defobj.sgml.reference.html"> library interface        conventions</A> of the <AHREF="swarm.defobj.sgml.reference.html">defobj library</A>.        The activity library relies heavily on the basic collection        types defined in the <AHREF="swarm.collections.sgml.reference.html">collections        library</A>, and the collection interfaces are an integral        part of the interfaces defined within this library.        Initialization of the activity library is done automatically        by the containing Swarm libraries, and automatically        initializes the collections and defobj libraries as        well.</P></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SWARM.ACTIVITY.SGML.SECT1.COMPAT">2. Compatibility</A></H1><P>No explicit compatibility issues for particular versions of      Swarm</P></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SWARM.ACTIVITY.SGML.SECT1.USAGE">3. Usage Guide</A></H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN8767">3.1. Role of the activity library in Swarm</A></H2><P> The activity library provides a foundation for dynamic,        object-oriented simulation in Swarm.  Swarm assumes that a user        defines an object-oriented representation for the structure of a world        to be simulated.  Once such a representation is established, activity        library components are responsible for generating all state changes        and flow of information within it.  These state changes must be        carefully controlled to ensure that they occur only at appropriate        times and places in the model.  The activity library provides        mechanisms to establish this control.      </P><P>Once the simulation of a dynamic model begins, everything        that happens to the model occurs as a direct result of        messages sent to world objects by activity library components.        These components are also represented by objects, since this        is the most effective means for their representation as well,        but their purpose is not to represent the current state of the        simulated world, but rather to generate changes in world        objects by sending messages in a valid order.  The activity        library has two basic categories of components: those that        represent messages to be sent, including constraints on        permissible order for sending them, and those that execute the        message sends these representations specify, making sure they        conform with all constraints.      </P><P>All changes to a model occur as a result of messages sent        to objects within it.  These messages invoke compiled methods        of receiving objects, which may change local state or send        messages to other objects to propagate effects as widely as        needed.  Because the activity library finally interacts with        the world model just by invoking its defined methods, the        model can prepackage as much behavior as it can in the form of        fast compiled methods.  The activity library just triggers the        prepackaged behavior at proper times under its own explicit,        dynamically interpreted representation.      </P><P>As conditions shift during execution of a model, the model can also        examine and alter the representation of its future behavior contained in        the activity structures that drive it.  Any changes to this future        behavior, however, still occur only as a result of some currently        executing action initiated by the activity library.      </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN8773">3.2. Activity library components</A></H2><P>The activity library defines one set of basic object types        to provide a very rich representation of the kinds of message        sending patterns it could generate.  Its other major category        of object types controls and tracks a current state of        processing within these representations.      </P><P>Both these representations are more abstract than typical        object representations, since they deal not with any constant        state which can be statically analyzed, but with shifting        patterns of messages to be fired to generate such state.        While the basic structure of a Swarm simulation is that of a        discrete event simulation, its activity representation is also        more complicated than most such systems.      </P><P>There are two basic reasons for the potential complexity        of a Swarm activity representation.  One is that Swarm        supports a decentralized representation of activity to be        generated, both to reflect the nature of much of the behavior        that it simulates, and so that execution may be distributed        across multiple parallel processors.  To avoid any need for        synchronizing its decoupled activities more often than        necessary, Swarm enables a model designer to avoid        overspecifying constraints on the patterns of message sends        which might potentially be valid.  The partial order        representation it adopts for a distributed and decoupled plan        of activity is inherently more complicated than the single        centralized event list adopted by many discrete event        simulation systems.      </P><P>The other reason for potential added complexity is that        Swarm's representation of intended activity may be broken into        many separate, modular components, which can be bound together        in various ways to create larger components.  The Swarm        composition structure, when fully implemented, will be        fundamentally as powerful as the modular abstractions found in        most programming languages, with the added complexity of        controlling the time at which various events occur.      </P><P>In spite of this high potential complexity, none of these        features is needed for many simple models, such as those that        contain only a small variety of basic behaviors, or which        define all their behavior to occur at regular, repeating        timesteps.  The Swarm representation is extremely rich to        enable it to scale to large, multi-level models with a variety        of dependent behaviors built into the model, and also to        facilitate running models on massively parallel machines.        Many of the features which seem complex, moreover, are also        especially well-suited to building modular and reusable        library components.  It is anticipated that many of the more        advanced features will find their heaviest usage in pre-built        libraries that hide internal complexity from applications that        use them.      </P><P>No matter how complex the structures built from them, all        the activity library components finally result in the direct        execution of messages sends to objects in a model.  Because of        this direct execution, very precise meaning can be defined for        each of them, in terms of message sends that can or must        occur.  Every component of a structure to be executed, and        every event of its execution, can also be accessed using the        interfaces of an object-oriented representation.  This means        that tools can be built to understand and interact with any        components to be executed, and also to trace and debug        activity as it occurs.  None of these tools have been built        yet as part of Swarm, but many of the activity library        interfaces are present to support them, not because normal use        of the library requires the added components.      </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN8781">3.3. Action plan components</A></H2><P>The first set of activity library components represent messages to        be sent to objects in a model, together with constraints in the order        in which they may be sent.  All these components are defined as        subtypes of the one generic type called ActionPlan.      </P><P>The two basic kinds of action plans are a simple group of        actions to be performed in some order, called an ActionGroup,        and a series of actions to be performed at discrete points in        time, called a Schedule.  The basic element of an action plan        is a simple object called an Action.  An action defines a        particular message to be sent to an object or objects.      </P><P>In its representation of action plans, Swarm relies        heavily on the dynamic message sending capabilities of the        Objective C language.  The support of Objective C for dynamic        message sends is absolutely crucial to Swarm's implementation        of generic activity structures.  Objective C defines a special        kind of data value called a selector, which identifies a        message according to its name.  One of these selector values        is stored in each action of an action plan.  During execution        of the plan, Objective C machinery performs the actual message        send using its selector.      </P><P>Action plans are free-standing objects that may be created        directly by a user program, using a variety of selectable        create-time options.  Once created, action plans may also        refer to each other, by containing special kinds of actions to        start another action plan or to perform all the actions within        it.      </P><P>Individual actions can be created only as completely        controlled components of some action plan.  They are created        not by a standard create message, but by special messages        (each containing the phrase createAction in its name) sent to        an action plan that creates the action as part of the action        plan.  If the same action is needed in more than one plan, it        has to be created in each plan where it is needed.  If the        entire action plan is dropped, all its actions are also        automatically dropped.  So the only action plan components        which need to be directly managed by an application are the        action plans themselves.      </P><P>Action plans are relatively straightforward components,        because they are entirely passive.  The only actions they ever contain        are those which an application has created in them.  These actions        stay in them indefinitely unless a special option is requested to        clean them out as each one is executed.  Because these plans are        passive, read-only components to all execution machinery, if the same        pattern of actions needs to be triggered at multiple points in a        model, it's perfectly valid to create one copy of the actions in an        action plan, and then refer to the plan anywhere the actions may be        needed.      </P><P>Even though action plans are passive, containing only what        has been placed in them, there is no requirement that their contents        remain fixed.  Both of the action groups and schedules are implemented        directly as collections of their actions.  New actions may be added at        any time, and existing ones may be dropped or moved from position to        another.  The contents of action plans may be as dynamic as they need        to be to represent the future actions needed in a model.  None of        these shifting contents has any effect on the model until actually        processed during model execution.      </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN8790">3.4. Model execution component</A></H2><P> The main responsibility of model execution is just to        perform the actions specified by an action plan, in an order        of execution consistent with any requirements of the plan.        Each action plan may specify as few or as many constraints as        it likes over the possible order in which its actions could be        performed.  Given these specifications, the execution objects        are entirely responsible for selecting each action to be        performed and then performing them.      </P><P>There are two simple cases of ordering that account for        most all usage, including that of the current Swarm demo        programs.  One is to permit the actions to be performed in any        order, including concurrent execution if hardware and software        support were available to do this.  The other is to require        them to be performed in some specific sequence, one after        another, so that the effects of one action could depend on        actions which preceded it.  This sequence could be either        fixed and predetermined, or dynamically established each time        the action plan is performed.  If a dynamically determined        sequence is needed, perhaps even selecting which actions are        to be performed at all, users can provide custom subclasses        for an action plan and an execution object that performs it.        A builtin option is to generate an entirely random sequence        each time a plan is executed.      </P><P>Each time an action plan is being processed, a special        kind of object called an activity is created entirely        automatically by the runtime processing machinery.  These        activity objects implement the internal machinery of a virtual        processor which has the ability to execute action plans.  To        get any activity started on a model, a processor is first        initialized to run a single top-level plan.  All other        activity during the lifetime of a model must occur as a result        of actions initiated by this plan (which may include the        startup of other plans).      </P><P>Because the activity objects are internal to the        processing machinery, an application can usually just ignore        their existence.  They come and go dynamically as various        action plans are started and completed, all arranged in a        stack or tree of current activities controlled by a single

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久电影网电视剧免费观看| 精品对白一区国产伦| 亚洲免费观看高清完整版在线观看| 国产超碰在线一区| 亚洲色图欧美激情| 欧美刺激脚交jootjob| 色哟哟国产精品免费观看| 日本网站在线观看一区二区三区 | 日韩欧美一区二区久久婷婷| 国产成人啪免费观看软件| 亚洲国产精品精华液网站| 久久久蜜桃精品| 精品视频999| 国产成人免费视频一区| 国产黑丝在线一区二区三区| 国产成人av电影在线播放| 成人不卡免费av| 久久国产精品区| 国产精品中文字幕一区二区三区| 亚洲国产精品精华液网站| 午夜一区二区三区在线观看| 正在播放亚洲一区| 日本韩国欧美一区| 成人va在线观看| 在线视频欧美精品| 成人aa视频在线观看| 色狠狠色噜噜噜综合网| 9191久久久久久久久久久| 欧美成人国产一区二区| 久久久久久久久99精品| 国产精品女同一区二区三区| 久久这里都是精品| 日韩欧美国产三级电影视频| 久久―日本道色综合久久 | 久久精品国产久精国产爱| 国产一区二区三区高清播放| 婷婷国产v国产偷v亚洲高清| 九色综合狠狠综合久久| 日av在线不卡| 日韩精品1区2区3区| 亚洲综合视频在线| 一区二区三区在线播| 亚洲精品国产第一综合99久久| 国产精品日产欧美久久久久| 洋洋成人永久网站入口| 精品在线观看视频| 色综合天天综合在线视频| caoporm超碰国产精品| 成人免费精品视频| 91影院在线免费观看| www.66久久| 91 com成人网| 中文字幕一区日韩精品欧美| 亚洲人快播电影网| 久久丁香综合五月国产三级网站 | 欧美zozo另类异族| 亚洲免费高清视频在线| 久久精品国产澳门| 91久久久免费一区二区| 国产亚洲欧美在线| 亚洲国产精品99久久久久久久久| 国产精品欧美一区喷水| 日本成人中文字幕在线视频| jvid福利写真一区二区三区| 欧美一区二区三区喷汁尤物| 日韩精品一区二区三区在线| 亚洲色图19p| 国产一区二区在线视频| 欧美日韩视频第一区| 中文字幕在线观看不卡| 精品午夜一区二区三区在线观看| 在线精品视频一区二区| 欧美韩国日本不卡| 久久超碰97中文字幕| 在线观看国产精品网站| 亚洲国产成人午夜在线一区| 麻豆国产精品一区二区三区| 国产成人亚洲精品狼色在线 | 一区二区三区在线视频免费观看| 国产精品一二三四五| 91精品国产美女浴室洗澡无遮挡| 亚洲欧美国产高清| 成人午夜伦理影院| 久久综合色8888| 麻豆一区二区三| 欧美日韩视频专区在线播放| 亚洲黄色av一区| 91一区二区在线| 中文字幕日韩一区| 盗摄精品av一区二区三区| 久久久久久夜精品精品免费| 日本vs亚洲vs韩国一区三区二区| 欧美主播一区二区三区| 悠悠色在线精品| 日本精品视频一区二区| 久久成人久久爱| 91精品国产美女浴室洗澡无遮挡| 日韩在线一区二区三区| 欧美日韩黄视频| 国产视频一区二区在线| 国产美女在线精品| 久久久久久久久久看片| 国产成人精品免费视频网站| 久久综合九色综合97婷婷| 精品一区二区三区视频| 精品国精品自拍自在线| 久久99久久精品| 欧美精品一区二区三| 国产一区二区三区最好精华液| 久久伊人中文字幕| 国产精品91一区二区| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲三级电影全部在线观看高清| www.在线成人| 亚洲欧美二区三区| 欧美在线一二三四区| 日日摸夜夜添夜夜添精品视频| 欧美日本高清视频在线观看| 秋霞电影网一区二区| 精品裸体舞一区二区三区| 国产毛片精品视频| 亚洲欧美综合在线精品| 在线观看一区不卡| 日韩精品亚洲一区| 精品成人a区在线观看| 成人综合在线观看| 一区二区在线观看视频在线观看| 欧美日韩久久一区二区| 九九九久久久精品| 国产精品你懂的在线欣赏| 色综合久久精品| 肉丝袜脚交视频一区二区| 欧美精品一区二区三区蜜臀 | 欧美性受极品xxxx喷水| 国产精品热久久久久夜色精品三区| 不卡的看片网站| 亚洲成人动漫一区| 欧美mv和日韩mv的网站| 成人激情免费电影网址| 亚洲国产精品天堂| 精品国产a毛片| 99re热视频这里只精品| 日本一区二区三区电影| 在线免费视频一区二区| 狠狠色狠狠色综合系列| 精品成a人在线观看| 色综合中文字幕| 久久精品国产第一区二区三区| 国产精品福利一区| 91在线精品一区二区| 爽好多水快深点欧美视频| 国产片一区二区| 欧洲生活片亚洲生活在线观看| 欧美在线影院一区二区| 国产麻豆一精品一av一免费| 亚洲裸体xxx| 欧美xxxxx裸体时装秀| 色哟哟精品一区| 国产一区二区三区精品视频| 亚洲一二三区不卡| 国产欧美一区二区精品秋霞影院 | 9191精品国产综合久久久久久| 风间由美一区二区三区在线观看| 性做久久久久久免费观看欧美| 中文字幕成人在线观看| 日韩一区二区三免费高清| 麻豆国产精品一区二区三区| 亚洲色图都市小说| 久久精品人人做人人综合| 欧美高清一级片在线| 麻豆91免费看| 亚洲国产一二三| 国产精品每日更新在线播放网址 | 日韩理论片中文av| xnxx国产精品| 欧美精品一级二级| 色综合天天综合网天天狠天天 | 91精品欧美久久久久久动漫| 99精品视频一区二区| 国产综合色产在线精品| 日韩国产精品久久| 亚洲午夜久久久久久久久电影院| 国产精品入口麻豆原神| 久久久久久久久久美女| 欧美一区二区三区四区视频 | 国产精品全国免费观看高清| 精品少妇一区二区| 欧美福利一区二区| 欧美视频完全免费看| 色综合久久中文综合久久牛| 国产福利一区在线观看| 精品一区二区三区日韩| 日本麻豆一区二区三区视频| 亚洲一区二区在线播放相泽| 亚洲天堂精品视频| 国产精品全国免费观看高清| 国产午夜精品一区二区| 久久色中文字幕| 精品日韩在线一区| 精品欧美一区二区久久|