Ferramentas do usuário

Ferramentas do site


geopro:pedro:swarm

Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

Ambos lados da revisão anteriorRevisão anterior
Próxima revisão
Revisão anterior
geopro:pedro:swarm [2007/07/15 16:24] pedrogeopro:pedro:swarm [2007/07/17 19:50] (atual) pedro
Linha 171: Linha 171:
   * Object2dDisplay: displays 2d arrays of objects   * Object2dDisplay: displays 2d arrays of objects
   * 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 240: Linha 242:
 instead of searching the whole cellular space. We would need functions such as "add" and "remove" to the regions, and  instead of searching the whole cellular space. We would need functions such as "add" and "remove" to the regions, and 
 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__: It could be possible to create all the set of agents, and then insert the whole group in the scale. At
 +this moment, each agent chooses his position/trajectories in the space.
 +
  
 =====TODO===== =====TODO=====
geopro/pedro/swarm.1184516673.txt.gz · Última modificação: 2007/07/15 16:24 por pedro