Yassine EL MOUDENE
Yassine EL MOUDENE

Reputation: 1

How two agents communicate undirectly through a memory sharing in multi agent systeme

Communication between agents in multi agent system MAS can be done directly with messages changing ( send and receive ), or indirectly throug a memory sharing so agents can write and read informations from the memory. I have to implement the second communication type and i have no idea... :( thank you for ur help.

Upvotes: 0

Views: 208

Answers (2)

Yassine EL MOUDENE
Yassine EL MOUDENE

Reputation: 1

thanks for ur interests, here i m in obligation to have an concurent access to objects in memory with all agents, so lets take a example: I have two agents A,B, all they have to work on a list of object( let s say a list of integer named yassine that are initialized on 0) , if the two agent find the yassine[x] == 0 the agent A change it to 1 , and B to 2 ; but if it s different to 0 the Agent pass to the next : ( conccurent access to the same objects in memory ). If i use FIPA-ACL communication each agent work on it's list, and we have two lists in memory. I hope i clarify my question??

Upvotes: 0

Cleber Jorge Amaral
Cleber Jorge Amaral

Reputation: 1452

You should avoid indirect communication, the most used way for agents communication is using FIPA-ACL protocol.

You can see more about FIPA-ACL on their web-site: http://www.fipa.org/repository/aclspecs.html

Upvotes: 0

Related Questions