Dynamic Agent Creation - Best Practices

Dimitrios Traskas dtraskas at googlemail.com
Wed Mar 19 16:11:03 EDT 2008


Thanks Todd,

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.

I noticed that in the past there was a different approach using a Node Agent
Controller.


Anyway thanks again,
Dimitris




On 19/03/2008, Todd Wright <twright at bbn.com> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cougaar.org/pipermail/cougaar-developers/attachments/20080319/22ab5b36/attachment.html


More information about the Cougaar-developers mailing list