RE: [jade-develop] Question about Contract Net Protocol


Subject: RE: [jade-develop] Question about Contract Net Protocol
From: Bellifemine Fabio (Fabio.Bellifemine@TILAB.COM)
Date: Thu Aug 01 2002 - 16:36:51 MET DST


Dear Robert Wu, some answers to some of your questions:

1. the contrat-net terminates in one of the following conditions:
   - all responders refuse to propose
   - the initiator rejects all proposals
   - no reponder sends any reply before the timeout (as expressed by reply-by slot) expires
  - the initator accepts a proposal and the reponder replies inform-done
  - the initator accepts a proposal and the reponder replies failure
You can infer yourself the states where the contract-net terminates with success and the one where terminates without success.

2. probably one contract-net initiator behaviour for each subtask to be allocated is a good way to do that. Another alternative is to implement a sequentialbehaviour which is a sequence of contract-net initiators. But of course there are many more alternatives.

3. you can call the method reset() on the behaviour of the 3rd agent

you can reset the contract net by calling the method reset().

-----Original Message-----
From: Wu Anbo [mailto:jds02@mail.xjtu.edu.cn]
Sent: 16 July 2002 15:10
To: jade-develop@sharon.cselt.it; jade-develop@sharon.cselt.it
Subject: [jade-develop] Question about Contract Net Protocol

Hi JADErs,

  I have some questions about the Contract Net Protocol implemented by
the ContractNetInitiator and ContractNetResponder.
1. When will the Contract Net end ? I wonder after which function or procedure
   is called , the Contract Net will end.
2. If I have a lot of sutasks to be allocated via Contract Net, How can I start
   the Contract net for a new bidding and assignment time and time again ?
3. If there is 3 agents that is assigned subtasks, 2 agents return the results
   in a short time, but the 3rd agents fails or cann't finish the work in a limited time,
   How can I restart the contract net for a new bidding?

  Is there anybody use the FIPA-Contract-Net protocol to assign multi tasks among multi
agents? How can you reset the Contract net?
  Sorry for so much questions.
Thanks in advance,
regards,

Robert Wu

_______________________________________________
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 : Thu Aug 01 2002 - 16:37:34 MET DST