Changes between Version 1 and Version 2 of SumPayoffFunction
- Timestamp:
- 08/31/11 11:51:26 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SumPayoffFunction
v1 v2 4 4 With this payoff function, payoff calculations take into account the sum of players' strategies when finding individual payoffs. Here is a screenshot of a portion of an example config setup: 5 5 6 [[Image(cournot_example.PNG)]] 6 ||'''payoffFunction'''|| '''type'''|| name|| A|| sMin|| sMax|| 7 ||'''sum'''|| '''public_goods'''|| pg1|| 1.2|| 0|| 25|| 8 ||sum|| public_goods|| pg1|| 1.1|| 0|| 25|| 9 ||sum|| public_goods|| pg1|| 0.9|| 0|| 25|| 10 ||sum|| public_goods|| pg1|| 0.8|| 0|| 25|| 11 ||sum|| public_goods|| pg1|| 1.2|| 0|| 50|| 7 12 8 The variables "A", "B", "C", and "D" alter the payoff formula. Three different calculations are available for use with this payoff function; one of these can be selected in the config with the enum "type". For example:9 13 10 [[Image(enum_type.PNG)]] 14 The variables "A", (and in later releases of ConG, columns "B", "C", and "D") alter the payoff formula. Currently one calculation is available for use with this payoff function; this is selected in the config with the enum "type". (at least two more sum payoff function '''types''' will be released in time) 15 ||payoffFunction|| '''type'''|| name|| A|| sMin|| sMax|| 16 ||sum'''|| '''public_goods'''|| pg1|| 1.2|| 0|| 25|| 11 17 12 Not every calculation uses every one of the lettered variables. The following are more detailed descriptions of the three types of calculations and how they use the lettered variables. For these equations, 's' is the player's strategy and 'sum' is the sum of all players' strategies.13 14 === Proportional ===15 * Type enum: "proportional"16 * Equation: (A * s / sum ) - C * s + D17 18 === Linear ===19 * Type enum: "linear"20 * Equation: ((A - B * sum) * s - C * s) + D21 18 22 19 === Public Goods === 20 * Payoff Function enum: "sum" 23 21 * Type enum: "public_goods" 24 22 * Equation: A - s + (B*sum) 23 {{{ 24 #!latex 25 \begin{flalign*} 26 \Pi_i & = \left ( sMin-s_i \right ) + \left ( \frac{A}{n} \right )\left ( \sum_{i=1}^{n} s_i \right ) \\ 27 \end{flalign*} 28 }}} 25 29 26 30 == Compatible Strategy Selectors ==
