Changes between Version 1 and Version 2 of SumPayoffFunction


Ignore:
Timestamp:
08/31/11 11:51:26 (22 months ago)
Author:
developer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SumPayoffFunction

    v1 v2  
    44With 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: 
    55 
    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|| 
    712 
    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: 
    913 
    10 [[Image(enum_type.PNG)]] 
     14The 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|| 
    1117 
    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 + D 
    17  
    18 === Linear === 
    19  * Type enum: "linear" 
    20  * Equation: ((A - B * sum) * s - C * s) + D 
    2118 
    2219=== Public Goods === 
     20 * Payoff Function enum: "sum" 
    2321 * Type enum: "public_goods" 
    2422 * 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}}} 
    2529 
    2630== Compatible Strategy Selectors ==