# CD: Concede-and-divide rule In ClaimsProblems: Analysis of Conflicting Claims

## Description

This function returns the awards vector assigned by the concede-and-divide (CD) rule to a two-claimant problem.

## Usage

 `1` ```CD(E, d, name = FALSE) ```

## Arguments

 `E` The endowment. `d` The vector of two claims. `name` A logical value.

## Details

Let E≥ 0 be the endowment to be divided and d=(d1,d2) the vector of claims with d≥ 0 and such that the sum of the two claims exceeds the endowment d1+d2≥ E.

The concede-and-divide rule first assigns to each of the two claimants the difference between the endowment and the other agent’s claim (or 0 if this difference is negative), and divides the remainder equally.

CD1(E,d) = max{E-d2,0} + 1/2(E-max{E-d1,0}-max{E-d2,0})

CD2(E,d) = max{E-d1,0} + 1/2(E-max{E-d1,0}-max{E-d2,0})

Several rules are extensions of the concede-and-divide rule to general populations: AA, APRO, MO, RA, and Talmud.

## Value

The awards vector selected by the CD rule. If name = TRUE, the name of the function (CD) as a character string.

## References

Aumann, R. and Maschler, M., (1985). Game theoretic analysis of a bankruptcy problem from the Talmud. J. Econ. Theory 36, 195–213.

Mirás Calvo, M. A., Núñez Lugilde, I., Quinteiro Sandomingo, C., and Sánchez Rodríguez, E. (2021). Analyzing rules that extend the concede-and-divide principle. Preprint.

Thomson, W. (2019). How to divide when there isn't enough. From Aristotle, the Talmud, and Maimonides to the axiomatics of resource allocation. Cambridge University Press.

 ```1 2 3 4 5 6 7 8 9``` ```E=10 d=c(7,8) CD(E,d) # Talmud, RA, MO, APRO, and AA coincide with CD for two-claimant problems Talmud(E,d) RA(E,d) MO(E,d) APRO(E,d) AA(E,d) ```