How to manage multiple platforms?

33 views
Skip to first unread message

Jorge Luján

unread,
Sep 4, 2014, 5:45:20 PM9/4/14
to spade...@googlegroups.com
Hello fellow SPADE users and devs

I am building what I would call a MMAS for my master's dissertation. The plan is to have three MAS Platforms that would be connected to each other and hosted by different servers.

I understand that XMPP gives me the ability to send messages to users that are registered under different servers as long as I have a route in the host file. So one agent can communicate with some other agent from a different platform if it knows the address.

However I'd like to know if there is a way to share agents data between platforms. (AMS and DF) If this is possible I wouldn't have to hard code the addresses of those agents and could ask for it's services to the directories the same way I can within the platform.

If there is no current functionality to do this, I'd like to know how hard it'd be to add it and contribute to SPADE.

Thank you a lot!

Markus Schatten

unread,
Sep 5, 2014, 7:39:31 PM9/5/14
to spade...@googlegroups.com
Dear Jorge,

as far as I know, there is no such mechanism yet (please correct me
Javi if I'm wrong). I'm not sure what kind of agent data you would
like to share between platforms, but various ideas come to mind. For
one, both AMS and DF are agents (they inherit from PlatformAgent
defined in Agent.py, which in turn inherits from AbstractAgent as does
the Agent class used for user defined agents), thus you could either
modify their code to suit your needs or inherit from these agent
classes to build custom AMS and DF agents that would be aware of other
platforms. You could, for example, use these modified or inherited
agents to connect to another platform (as normal agents do) and
communicate with the other AMS and DF services.

Best,

M.

--
Markus Schatten, PhD
Assistant professor and head of Artificial Intelligence Lab
University of Zagreb
Faculty of Organization and Informatics
Pavlinska 2, 42000 Varazdin, Croatia
http://www.foi.hr/nastavnici/schatten.markus/index.html
http://www.researchgate.net/profile/Markus_Schatten1
http://ai.foi.hr
> --
> You received this message because you are subscribed to the Google Groups
> "spade-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to spade-users...@googlegroups.com.
> To post to this group, send email to spade...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Swati Deshkar

unread,
Feb 9, 2016, 2:08:04 AM2/9/16
to spade-users



Hello Jorge,
                     I am a newbie to this platform and I want to send message from a spade platform running on my pc  to an agent existing  in different spade platform running on a processor. how this is possible???
Reply all
Reply to author
Forward
0 new messages