Cake splitting is extremely complex-the Linux Release Technology-Debian information. The following is a detailed description. A delicious cake will make you mouth-watering, but it will make you blink your brains. There is a famous question about cake splitting in mathematics: There are N points for a piece of cake, and each person has a different opinion on the part he is assigned, how can we make everyone satisfied (or Envy-free )? In February 1980, Walter stromqualified from swarmore college near philadphia proved that an Envy-free solution exists. In other words, a piece of cake cut N-1 to N people, so that everyone is satisfied is possible. N = 2 and N = 3 are relatively simple (in fact, N = 3 is already quite tedious). In 1992, Steven Brams and Alan Taylor proved the situation of N> 3, but the algorithm is too complicated. For this reason, they wrote a book to analyze how to divide the cake fairly. At present, Xiaotie Deng of the City University of Hong Kong and his colleagues have proposed a more efficient cake Splitting Algorithm (preprinted version). The algorithm can be computed within the polynomial time. However, the only unfortunate problem is that the algorithm is applicable to N = 3. In addition, some special cases can only obtain an approximate Envy-free solution. Which of the following reference streams? ? : 1. N = 2: When two people divide the cake, they generally think that it is not enough to divide the cake by half? This is true, but if two people, for example, both of them, are concerned about whether there is fair fruit to them, then anyone who wants to choose first and try to get more fruits as much as possible. If the split is the same as the first one, the other one must feel unfair. Therefore, the best solution is to cut the cake by one person and select the other person first, so that the first person will try not to be too blind, and the second person's choice will not take up any advantage.
2. N = 3: when three people, A, and B, want to divide a piece of cake, first simplify the situation, the cake is round, and everyone only cares about the size of the cake, do not consider the decoration. There are two possible methods. A. in the first method, assume that party a executes the knife and rotates around the cake from the radius of a starting point. Observe the remaining Party B and Party C if one of them (for example, Party C) I think it's time to stop the call and let a cut the cake as a part of B. The rest is the same as the two. This method also leads to another situation, that is, assuming that the three members divide the cake, Party B and Party C do not have a contract or secretly collude with each other, so that the knife exceeds 1/3 and has not stopped. It is assumed that Party B and Party C have their own rational choices. At the same time, everyone will envy others for being more than themselves .....
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service