RE: [jade-develop] excluding certain behaviours from beeing triggered


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


Hi,

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?

Bye

Giovanni

-----Original Message-----
From: Heiko Holtschneider
[mailto:heiko.holtschneider@post.rwth-aachen.de]
Sent: mercoledì 23 ottobre 2002 16.17
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] excluding certain behaviours from beeing
triggered

Hello JADErs,

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:

1) ContractNetInitiator
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
blocked and
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

-- 
Heiko Holtschneider
mailto:heiko.holtschneider@post.rwth-aachen.de
_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
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