Thanks Todd,<br><br>I actually started implementing a solution where all the data is loaded on the blackboard and then collected by the newly created Agents. But I like your idea of having a master / slave approach so that every Agent pulls the data relevant for itself by request to the main Simulation Agent. As for dynamically creating Agents I followed your MobilityFactory examples and it works fine. <br>
<br>I noticed that in the past there was a different approach using a Node Agent Controller. <br><br><br>Anyway thanks again,<br>Dimitris<br><br><br><br><br><div><span class="gmail_quote">On 19/03/2008, <b class="gmail_sendername">Todd Wright</b> <<a href="mailto:twright@bbn.com">twright@bbn.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dimitrios Traskas wrote:<br> > Hi to all,<br> ><br> > I have managed to slowly build up my simulation project and came to the<br> > point that I need to dynamically create a couple of thousand Agents. I<br> > have read the thread about Dynamic Agent Creation but I was wondering if<br>
> I could get some tips in order to generate thousands of Agents for<br> > various simulation models. I also need to pass to each one of these<br> > Agents some data. They need to know their working shifts through the day<br>
> and how they are going to perform (as it is a simulation). What would<br> > you say is the best practice to do that? Do I need to use the LDM Data<br> > Assets or can I just solve my problem by pushing a collection of data in<br>
> the blackboard which is then picked up by each of the Agents after they<br> > are created?<br> <br> <br>Yes, I'd use the second approach: use Relays to push the data to the agents.<br> <br> A similar approach is to have the new agents "report" to the "master" agent<br>
when they are created, via a relay, and the master can send back a relay with<br> the data.<br> <br> Todd<br> <br><br> ><br> > I would appreciate any tips on the subject because the dynamic creation<br> > of Agents on my project is critical and I dont want to waste any memory<br>
> or resources. It has to be very efficient and reliable as the data that<br> > is passed to each Agent can affect the end result dramatically.<br> ><br> ><br> > Regards<br> > Dimitris<br> ><br> ><br>
<br>> ------------------------------------------------------------------------<br> ><br> > _______________________________________________<br> > Cougaar-developers mailing list<br> > <a href="mailto:Cougaar-developers@cougaar.org">Cougaar-developers@cougaar.org</a><br>
> <a href="http://cougaar.org/mailman/listinfo/cougaar-developers">http://cougaar.org/mailman/listinfo/cougaar-developers</a><br> </blockquote></div><br>