Dynamic Agent Creation - Best Practices

Todd Wright twright at bbn.com
Wed Mar 19 10:45:14 EDT 2008


Dimitrios Traskas wrote:
> Hi to all,
> 
> I have managed to slowly build up my simulation project and came to the 
> point that I need to dynamically create a couple of thousand Agents. I 
> have read the thread about Dynamic Agent Creation but I was wondering if 
> I could get some tips in order to generate thousands of Agents for 
> various simulation models. I also need to pass to each one of these 
> Agents some data. They need to know their working shifts through the day 
> and how they are going to perform (as it is a simulation). What would 
> you say is the best practice to do that? Do I need to use the LDM Data 
> Assets or can I just solve my problem by pushing a collection of data in 
> the blackboard which is then picked up by each of the Agents after they 
> are created?

Yes, I'd use the second approach:  use Relays to push the data to the agents.

A similar approach is to have the new agents "report" to the "master" agent 
when they are created, via a relay, and the master can send back a relay with 
the data.

Todd

> 
> I would appreciate any tips on the subject because the dynamic creation 
> of Agents on my project is critical and I dont want to waste any memory 
> or resources. It has to be very efficient and reliable as the data that 
> is passed to each Agent can affect the end result dramatically.
> 
> 
> Regards
> Dimitris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers



More information about the Cougaar-developers mailing list