geopro:pedro:swarm
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
geopro:pedro:swarm [2007/07/09 20:30] – pedro | geopro:pedro:swarm [2007/07/17 19:50] (atual) – pedro | ||
---|---|---|---|
Linha 11: | Linha 11: | ||
^**Homepage** | ^**Homepage** | ||
^**Origin** | ^**Origin** | ||
- | ^**Year** | + | ^**Year** |
^**Version** | ^**Version** | ||
^**License** | ^**License** | ||
Linha 25: | Linha 25: | ||
How to compile swarm in ubuntu [[http:// | How to compile swarm in ubuntu [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
\\ | \\ | ||
==== The Swarm Simulation System: A Toolkit for Building Multi-agent Simulations==== | ==== The Swarm Simulation System: A Toolkit for Building Multi-agent Simulations==== | ||
Linha 30: | Linha 33: | ||
\\ | \\ | ||
- | //Swarm is a multi-agent software platform for the simulation of complex adaptive | + | **Abstract: |
systems. In the Swarm system the basic unit of simulation is the swarm, a collection of agents executing a schedule of actions. | systems. In the Swarm system the basic unit of simulation is the swarm, a collection of agents executing a schedule of actions. | ||
Swarm supports hierarchical modeling approaches whereby agents can be composed of swarms of other agents in nested | Swarm supports hierarchical modeling approaches whereby agents can be composed of swarms of other agents in nested | ||
structures. Swarm provides object oriented libraries of reusable components for building models and analyzing, displaying, and | structures. Swarm provides object oriented libraries of reusable components for building models and analyzing, displaying, and | ||
- | controlling experiments on those models.// | + | controlling experiments on those models. |
+ | |||
+ | \\ | ||
- | //[...] collection of independent agents interacting via discrete events. [...] There are no domain | + | [...] collection of independent agents interacting via discrete events. [...] There are no domain |
specific requirements such as particular spatial environments, | specific requirements such as particular spatial environments, | ||
- | Swarm simulations have been written for such diverse areas [...]// | + | Swarm simulations have been written for such diverse areas [...] |
- | //The basic unit of a Swarm simulation is the agent. An agent is any actor in a system, | + | The basic unit of a Swarm simulation is the agent. An agent is any actor in a system, |
any entity that can generate events that affect itself and other agents. Simulations consist | any entity that can generate events that affect itself and other agents. Simulations consist | ||
of groups of many interacting agents. [...] Simulation of discrete interactions between | of groups of many interacting agents. [...] Simulation of discrete interactions between | ||
agents stands in contrast to continuous system simulations, | agents stands in contrast to continuous system simulations, | ||
- | phenomena are quantities in a system of coupled equations.// | + | phenomena are quantities in a system of coupled equations. |
- | //In addition to being containers for agents, swarms can themselves be agents. [...] | + | In addition to being containers for agents, swarms can themselves be agents. [...] |
an agent can also itself be a swarm: a collection of objects and a schedule of actions. | an agent can also itself be a swarm: a collection of objects and a schedule of actions. | ||
In this case, the agent' | In this case, the agent' | ||
- | its swarm. Hierarchical models can be built by nesting multiple swarms.// | + | its swarm. Hierarchical models can be built by nesting multiple swarms. |
Swarm has the following components: | Swarm has the following components: | ||
- | * SwarmObject: | + | |
- | * Swarm: Model swarms and observer swarms are written by using code inherited from this base class. | + | |
- | * Activity: defines the scheduling data structures and execution support. | + | |
- | * Simtools: classes to control the execution of the entire simulation apparatus: a fully graphical and a batch mode. | + | |
- | //Ambiguity can occur in partial orders and time-based schedules as a result of two or | + | Ambiguity can occur in partial orders and time-based schedules as a result of two or |
more actions scheduled at the same time or in the same relative order. Swarm resolves | more actions scheduled at the same time or in the same relative order. Swarm resolves | ||
such ambiguity by defining a " | such ambiguity by defining a " | ||
Linha 64: | Linha 69: | ||
actually running each action concurrently, | actually running each action concurrently, | ||
The explicit notation of a concurrent group type helps to expose and remove any hidden | The explicit notation of a concurrent group type helps to expose and remove any hidden | ||
- | assumptions in the time structure of a model.// | + | assumptions in the time structure of a model. |
__TerraME: | __TerraME: | ||
Linha 166: | Linha 171: | ||
* Object2dDisplay: | * Object2dDisplay: | ||
* Int2dFiler: (deprecated) save the state of any Discrete2d: object (or a subclass thereof) to a specified file. | * Int2dFiler: (deprecated) save the state of any Discrete2d: object (or a subclass thereof) to a specified file. | ||
+ | |||
+ | |||
===== Examples available at swarm wiki===== | ===== Examples available at swarm wiki===== | ||
Linha 235: | Linha 242: | ||
instead of searching the whole cellular space. We would need functions such as " | instead of searching the whole cellular space. We would need functions such as " | ||
some support to randomness. | some support to randomness. | ||
+ | |||
+ | |||
+ | The creation of a group of agents, by a Model Swarm. Note that the model creates and puts it in the world. | ||
+ | |||
+ | for(i = 0; i < 100; i++) | ||
+ | { | ||
+ | StupidBug* stupidBug = nil; | ||
+ | | ||
+ | stupidBug = [StupidBug create: modelZone]; | ||
+ | [stupidBug setWorld: world]; | ||
+ | [stupidBug setRandPosition]; | ||
+ | | ||
+ | [bugList addLast: stupidBug]; | ||
+ | } | ||
+ | |||
+ | __TerraME__: | ||
+ | this moment, each agent chooses his position/ | ||
+ | |||
+ | |||
+ | =====TODO===== | ||
+ | |||
+ | Some applications using swarm: | ||
+ | |||
+ | * Schelhorn, T., O' | ||
+ | * Haklay, M., O' | ||
+ | * Batty, M., Desyllas, J. and Duxbury, E. (2003), ' | ||
+ | |||
+ | Swarm learning curve: | ||
+ | |||
+ | * Najlis, R., Janssen, M.A. and Parker, D.C. (2001), ' | ||
geopro/pedro/swarm.1184013052.txt.gz · Última modificação: 2007/07/09 20:30 por pedro