# allrules: Summary of the division rules In ClaimsProblems: Analysis of Conflicting Claims

## Description

This function returns the awards vectors selected, for a given claims problem, by the rules: AA, APRO, CE, CEA, CEL, DT, MO, PIN, PRO, RA, and Talmud.

## Usage

 `1` ```allrules(E, d, draw = TRUE) ```

## Arguments

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

## Details

Let E≥ 0 be the endowment to be divided and d the vector of claims with d≥ 0 and such that the sum of claims exceeds the endowment.

A vector x=(x1,...,xn) is an awards vector for the claims problem (E,d) if: no claimant is asked to pay (0≤ x); no claimant receives more than his claim (x≤ d); and the balance requirement is satisfied, that is, the sum of the awards is equal to the endowment (x1+...+xn=E).

A rule is a function that assigns to each claims problem (E,d) an awards vector for (E,d), that is, a division between the claimants of the amount available.

The formal definitions of the main rules are given in the corresponding function help.

## Value

A data-frame with the awards vectors selected by the main division rules. If draw = TRUE, a bar chart for each claimant representing the amounts that the claimant receives.

## References

Mirás Calvo, M.A., Quinteiro Sandomingo, C., and Sánchez-Rodríguez, E. (2020). The core-center rule for the bankruptcy problem. Working paper 2020-02, ECOBAS.

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``` ```E=10 d=c(2,4,7,8) allrules(E,d) ```