Skip to main content

Module acbba

Module acbba 

Source
Expand description

Asynchronous CBBA (ACBBA): agents build bundles and resolve conflicts on their own schedule, exchanging one task at a time, and only pass on what is new.

Experimental: ACBBA does not settle reliably. None of the published decision tables settles every run, even on a network that loses nothing. With the default 2011 table, about 1 in 1,000 simulated runs on sparse networks never goes quiet, as a bid an agent has released outlives the release. For dependable results, use cbba, which tolerates delayed, lost and reordered messages too.

Each agent keeps, for every task, the winner it believes in, the winning bid, and the time that bid was made. Its bundle phase bids as in CBBA and announces each new bid. Every arriving Message is resolved with a deconfliction table by Johnson, Ponda, Choi and How, which also decides what to rebroadcast: the receiver’s own entry, the sender’s, an empty bid, or nothing. When the network has nothing new left to say, it goes quiet. The authors published three revisions of the table, which differ; an agent follows the one Rules names, by default the 2011 one from “Asynchronous Decentralized Task Allocation for Dynamic Environments” (AIAA Infotech@Aerospace 2011).

Bid times come from a clock all agents share, passed in as now; timestamps of different agents are compared directly. sim uses its tick.

Choices this implementation makes where the papers are silent:

  • The bundle phase announces each task it adds, as the agent’s own entry.
  • An agent outbid on a task releases it and every task added after it, as in CBBA, and announces the later ones, which it held itself, as empty bids at the current time. Otherwise the others would keep believing it still wins them.
  • Rebroadcasts are batched: of everything an agent decides to send about one task in a round, only the last message goes out. Answering every stale message one by one makes stale information multiply: each answer reaches every neighbor and draws answers of its own, while the winner keeps re-stamping its bid, so the network never goes quiet.
  • Messages are only sent in response to something new. A lost message is not repeated, so on a lossy network the team can go quiet without agreeing. Even without losses, a released bid that is newer than the true winner’s can survive on a distant agent. Agent::announce_every makes each agent re-announce its whole view at a fixed interval, confirming its own winning bids with the current time.

Structs§

Agent
One ACBBA agent: its valuation, its bundle, and its view of every task’s winner.
Claim
One task’s entry: who wins it, with what bid, and when that bid was made.
Message
One agent’s entry for one task, broadcast to its neighbors.

Enums§

Rules
Which published decision table an agent follows.