edu.stanford.multiagent.gamer
Class CollaborationGame

java.lang.Object
  |
  +--edu.stanford.multiagent.gamer.ParameterizedObject
        |
        +--edu.stanford.multiagent.gamer.Game
              |
              +--edu.stanford.multiagent.gamer.PureCoordinationMatrix
                    |
                    +--edu.stanford.multiagent.gamer.CoordinationGame
                          |
                          +--edu.stanford.multiagent.gamer.CollaborationGame

public class CollaborationGame
extends CoordinationGame

Return an instance of a collaboration game. Note that our definition of a regular coordination games allows for the values of different equilibria to be Pareto-ordered but not necessarily all the same. In contrast, the Collaboration Game demands that all equilibria yield the same payoff. Both the coordination game and the collaboration game are common payoff.


Field Summary
 
Fields inherited from class edu.stanford.multiagent.gamer.CoordinationGame
cgParam
 
Fields inherited from class edu.stanford.multiagent.gamer.Game
actions, DEFAULT_HIGH, DEFAULT_LOW, intMult, intPayoffs, players, pMaxPayoff, pMinPayoff, pNormalize, symActions
 
Fields inherited from class edu.stanford.multiagent.gamer.ParameterizedObject
parameters
 
Constructor Summary
CollaborationGame()
           
 
Method Summary
 void doGenerate()
          Generates one payoff for every outcome, making sure that all of the equilibrium outcomes (those on the diagonal of the matrix) are higher than all of the non-equilibrium outcomes and all equal.
protected  java.lang.String getGameHelp()
          Return help screen information about the given game class.
 
Methods inherited from class edu.stanford.multiagent.gamer.CoordinationGame
checkParameters, initialize, randomizeParameters
 
Methods inherited from class edu.stanford.multiagent.gamer.PureCoordinationMatrix
getPayoff, initMatrix, setPayoff
 
Methods inherited from class edu.stanford.multiagent.gamer.Game
generate, getAutoNormPayoff, getDescription, getHelp, getName, getNormPayoff, getNumActions, getNumActions, getNumPlayers, getOutputPayoff, getOutputPayoff, getPayoff, getRangeHelp, parseActions, parsePlayersActions, parsePlayersSameNumberActions, parseSameNumberActions, setDescription, setName, setNormMinAndMax, setNumActions, setNumActions, setNumPlayers, writeGame
 
Methods inherited from class edu.stanford.multiagent.gamer.ParameterizedObject
getBooleanParameter, getDoubleParameter, getLongParameter, getParamDescription, getParameter, getParameters, getStringParameter, setParameter, setParameter, setParameters, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollaborationGame

public CollaborationGame()
                  throws java.lang.Exception
Method Detail

getGameHelp

protected java.lang.String getGameHelp()
Description copied from class: Game
Return help screen information about the given game class.

Overrides:
getGameHelp in class CoordinationGame

doGenerate

public void doGenerate()
Generates one payoff for every outcome, making sure that all of the equilibrium outcomes (those on the diagonal of the matrix) are higher than all of the non-equilibrium outcomes and all equal.

Overrides:
doGenerate in class CoordinationGame