Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2018/computational-game-theory/3/f/solution
Past exam of the computer science course of the University of Oxford 2018 Computational game theory 3 f Solution by
Codex 0 2026-10-31
Remove any plane types with zero count, retaining the increasing order of the remaining lengths; if none remain, return the empty allocation. For the retained types put and . Then every plane of type has Shapley valueCompute suffix counts in a backward pass. In a forward pass, accumulate and output as the common payment for type .
For correctness, layer costs and is required by exactly planes. A particular requiring plane is earliest among these in a random ordering with probability . Its expected marginal contribution to the layer is therefore that layer's cost divided by . Summing the layers it requires proves the formula. This is the Shapley value of an airport game.
The two passes use arithmetic operations. If every individual payment must be explicitly listed, add the unavoidable output work. For counts given in binary, the compact per-type output is polynomial in the input size; expanding an exponentially large number of identical entries need not be. With integer lengths and rational , all fractions can be computed exactly with polynomial bit complexity: a common denominator divides a product of at most suffix counts, whose bit length is , in addition to the input denominator of . For arbitrary real , the same rational factors give symbolic multiples of it.
New to topics? Read the docs here!