Creating Agents without XML

Dimitrios Traskas dtraskas at googlemail.com
Wed Mar 26 16:48:35 EDT 2008


Hi Chris,

I had a similar problem a few days ago in regards with creating Agents
dynamically during runtime. If you see the threads about Dynamic Agent
Creation that have been posted a week ago you will get a better idea.

Basically you need to have a node.xml file where you specify your node
details. You then have a Plugin that initialises your main Agent which you
will use to generate new Agents. You need to generate an XML file for each
Agent you are going to create, which you can then delete on Agent creation.
Have a look at this email which explains everything in detail
http://www.mail-archive.com/cougaar-developers@cougaar.org/msg00014.html

I am a beginner with Cougaar too and followed the tutorials and emails in
the cougaar developers mailing list which are very helpful. With the link I
gave you I managed to dunamically create about 15000 Agents for some
simulation experiments I am running. However I do not know if there is any
way to create the Agents without the need for an XML file. Anyway please let
me know if you need more help.



Regards
Dimitris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cougaar.org/pipermail/cougaar-developers/attachments/20080326/ee12c936/attachment-0001.html


More information about the Cougaar-developers mailing list