Expand description
The task consensus of bid-warped CBBA (BW-TC): agents bid as in CBBA, but exchange only what changed, and announce every bid they withdraw.
Experimental. This is a candidate replacement for acbba’s
deconfliction tables, which do not settle reliably. Its published convergence proof
assumes synchronous, reliable rounds.
Each agent keeps the best bid it knows for every task, and a timestamp for every pair of bidder and task. After its bundle phase, it compares its bundle with the one it last announced: tasks it no longer holds go out as drop bids, new tasks as bids. A receiver takes an entry only when it is newer than what it has seen of that bidder on that task, so a withdrawn bid can never come back from a stale copy, however it is relayed. A newer drop removes the bidder’s bid; a newer bid is kept, and passed on when it is the best known, while otherwise the receiver answers with the best bid it knows. Everything an agent learns or answers goes out together at the end of its next round.
The consensus is Algorithms 4 to 6 of Johnson, Choi, Ponda and How, “Decentralized Task Allocation Using Local Information Consistency Assumptions”, Journal of Aerospace Information Systems 14(2), 2017 (https://doi.org/10.2514/1.I010461). The paper also warps bids so that scores need not diminish; this module does not, so valuations must have diminishing marginal gains, as for CBBA.
Choices this implementation makes where the paper leaves room:
- Timestamps come from a clock all agents share, passed in as
now, counted in half ticks: a drop made at ticktis stamped2t + 1and a bid2t + 2, so a bid always comes after a drop the same agent made in the same round. This is the paper’sδ. - A bid replaces a task’s entry in an agent’s bundle only when the bid changed; a task kept with the same gain is not announced again.
- Nothing is ever repeated, so a lost message is lost for good: the paper says as much. Use it on networks that deliver every message.
One deliberate deviation: the paper keeps one bid per task, the best known, and records the time of every bid it hears, kept or not. An agent that hears a bid while a better one stands then discards it, and when the better bid is dropped and the agent bids on the free task itself, the others’ answers carry the discarded bid at a time it has already seen, so it ignores them: the team falls quiet with the agent believing it wins a task another agent holds. Here an agent keeps the latest bid of every bidder on every task, and the best of them counts. Since every withdrawal is announced, a kept bid stays valid until its drop arrives, and the runner-up takes over when the best bid is dropped; the agent then announces the runner-up along with the drop, since its neighbors may never have heard of it.
Structs§
- Agent
- One BW-TC agent: its valuation, its bundle, and the best bid it knows for every task.
- Bid
- A bid: who placed it, and its gain.
- Packet
- Everything an agent broadcasts at the end of one round.
Enums§
- Entry
- One piece of news about one task.