Research Article
Multiagent Task Allocation in Complementary Teams: A Hunter-and-Gatherer Approach
Algorithm 4
Decision-making outer-loop algorithm of a gatherer agent.
(1) | for do | (2) | ifthen | (3) | | (4) | ifthen | (5) | send the readiness message to | (6) | if received a bargaining notification then | (7) | bargain | (8) | else | (9) | place a bid for the auction | (10) | end if | (11) | end if | (12) | if the negotiation is succeeded then | (13) | add to as | (14) | | (15) | end if | (16) | end if | (17) | follow to accomplish tasks and update | (18) | end for |
|