Subject: RE: [jade-develop] excluding certain behaviours from beeing triggered
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Wed Oct 23 2002 - 17:18:51 MET DST
Have you tried removing a behaviour when it must not be triggered (Agent.removeBehaviour()) and add it again (Agent.addBehaviour()) when it must be triggered again?
From: Heiko Holtschneider
Sent: mercoledý 23 ottobre 2002 16.17
Subject: [jade-develop] excluding certain behaviours from beeing
I posted this problem yesterday but I think I explained it somewhat
complicated. So here is a second trial:
I have an agent with three behaviours:
2) ContractNetResponder A
3) ContractNetResponder B
2) and 3) are the same, except from the fact that
2) is triggered only by messages of the agent himself ( by the agents own
ContractNetInitiator 1) ),
3) is triggered by messages from any other agent.
Now, while behaviour 1) AND/OR 2) are active behaviour 3) should be
while behaviour 3) is active behaviours 1) and 2) should be blocked.
Does anybody have a similar problem or knows the answer to my problem?
Or is it something really trivial?
I' thankful for any hint,
-- Heiko Holtschneider mailto:email@example.com _______________________________________________ jade-develop mailing list firstname.lastname@example.org http://sharon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Wed Oct 23 2002 - 17:19:02 MET DST