(In FoodSinulation) Can an normative agent eat food of other agent?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(In FoodSinulation) Can an normative agent eat food of other agent?

Marcos Côrtes
hello Jason Developers...

I has using the FoodSimulation example and noted a inconsistency:

I created a match between 50 normative agents. I observed that it generates some attacks.


But, it the agents are normative. It not will eat food of other agents, and it not will attack others because never an agent will eat food of others.

I does not understand this behavior,  I thought correctly?  

Thanks...

=============================================================================

Olá desenvolvedores...

Eu estyou usando o exemplo FoodSimulation e notei uma inconsistência:

Eu criei um combate entre 50 agentes normativos. E notei que que os agentes se atacavam algumas vezes.

Eu não esperava que um ataque ocorresse. Pois como são normativos. Eles nunca comeriam a comida de outro. E como ninguém come a comida de outro. Eles não iriam atacar ninguém, seguindo as normas.

Eu pensei certo? Existe algum problema neste exemplo?

Obrigado...
--
Ass: Marcos Côrtes
Mestrando Computação - UFF

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Jason-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jason-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: (In FoodSinulation) Can an normative agent eat food of other agent?

Jomi Fred Hubner-4
In the paper that inspired the implementation, normative agents are allowed to attack! (see sec 4.3 in http://jasss.soc.surrey.ac.uk/1/3/3.html) This is coded in the normative.asl:

// Rule-n4: if I see another agent eating food owned by others, attack it
+step(_) : food(X,Y,see,OAg) & agent(AgId,X,Y,_,eating) & 
           AgId \== OAg & OAg \== -1 
        <- attack(X,Y).

On 11/04/2012, at 18:10, Marcos Côrtes wrote:

hello Jason Developers...

I has using the FoodSimulation example and noted a inconsistency:

I created a match between 50 normative agents. I observed that it generates some attacks.


But, it the agents are normative. It not will eat food of other agents, and it not will attack others because never an agent will eat food of others.

I does not understand this behavior,  I thought correctly?  

Thanks...

=============================================================================

Olá desenvolvedores...

Eu estyou usando o exemplo FoodSimulation e notei uma inconsistência:

Eu criei um combate entre 50 agentes normativos. E notei que que os agentes se atacavam algumas vezes.

Eu não esperava que um ataque ocorresse. Pois como são normativos. Eles nunca comeriam a comida de outro. E como ninguém come a comida de outro. Eles não iriam atacar ninguém, seguindo as normas.

Eu pensei certo? Existe algum problema neste exemplo?

Obrigado...
--
Ass: Marcos Côrtes
Mestrando Computação - UFF
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
Jason-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jason-users

-- 
Jomi Fred Hubner
Federal University of Santa Catarina
Department of Automation and Systems Engineering
PO Box 476, Florianópolis, SC
88040-900 Brazil


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Jason-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jason-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: (In FoodSinulation) Can an normative agent eat food of other agent?

Marcos Côrtes
Hi Jomi...

I understand. The rule 4 predicts that an agent A will attack agent B if it has eaten food of other agent.


But, (I think) a normative agent will only eat a food if the normative agent is the owner of food or the food does not have owner (Rule 1).

In an environment when only there is normative agents. Never a agent will eat a food of other agent, because Rule 1.

And, because it, no agent will attack other one, (the Rule 4 not will be triggered because there is not an agent eating food of other agent).


But, when I using the example implemented in Jason, with only normative agents, I can see attacks :/

If I reasoning correct, the implemented example has some problem.

thanks... 
====================================================================================

Olá Jomi.

Eu compreendi que um agente normativo pode atacar de acordo com a regra 4. 

Mas um agente normativo só atacará outro se este outro estiver comendo a comida que não é dele.

E, um agente normativo nunca irá comer uma comida que não é dele (rule 1).

Então, em um experimento com somente agentes normativos, nenhum agente irá comer a comida de outro, então nunca poderá haver ataques.

O que eu notei é que no exemplo, tanto o implementado, quanto o do artigo, existem ataques neste cenário.

Eu não sei se deixei escapar alguma coisa ou se tem algum problema no exemplo...

bom é isto, espero que não esteja sendo confuso ou confundindo as coisas.

Abs... até...

Em 11 de abril de 2012 18:34, Jomi Fred Hubner <[hidden email]> escreveu:
In the paper that inspired the implementation, normative agents are allowed to attack! (see sec 4.3 in http://jasss.soc.surrey.ac.uk/1/3/3.html) This is coded in the normative.asl:

// Rule-n4: if I see another agent eating food owned by others, attack it
+step(_) : food(X,Y,see,OAg) & agent(AgId,X,Y,_,eating) & 
           AgId \== OAg & OAg \== -1 
        <- attack(X,Y).

On 11/04/2012, at 18:10, Marcos Côrtes wrote:

hello Jason Developers...

I has using the FoodSimulation example and noted a inconsistency:

I created a match between 50 normative agents. I observed that it generates some attacks.


But, it the agents are normative. It not will eat food of other agents, and it not will attack others because never an agent will eat food of others.

I does not understand this behavior,  I thought correctly?  

Thanks...

=============================================================================

Olá desenvolvedores...

Eu estyou usando o exemplo FoodSimulation e notei uma inconsistência:

Eu criei um combate entre 50 agentes normativos. E notei que que os agentes se atacavam algumas vezes.

Eu não esperava que um ataque ocorresse. Pois como são normativos. Eles nunca comeriam a comida de outro. E como ninguém come a comida de outro. Eles não iriam atacar ninguém, seguindo as normas.

Eu pensei certo? Existe algum problema neste exemplo?

Obrigado...
--
Ass: Marcos Côrtes
Mestrando Computação - UFF
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
Jason-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jason-users

-- 
Jomi Fred Hubner
Federal University of Santa Catarina
Department of Automation and Systems Engineering
PO Box 476, Florianópolis, SC
88040-900 Brazil




--
Ass: Marcos Côrtes
Mestrando Computação - UFF

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Jason-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jason-users
Loading...