Research Article
Multiagent Task Allocation in Complementary Teams: A Hunter-and-Gatherer Approach
Algorithm 1
Bargaining function for a hunter agent.
| (1) | function bargain (, , , ) | | (2) | calculate | | (3) | calculate offers: | | (4) | for each offer do | | (5) | send the offer to | | (6) | if an acceptance message is received then | | (7) | | | (8) | break for | | (9) | else | | (10) | | | (11) | end if | | (12) | end for | | (13) | return results |
|