edu.stanford.multiagent.gamer
Class UniformLEG

java.lang.Object
  |
  +--edu.stanford.multiagent.gamer.ParameterizedObject
        |
        +--edu.stanford.multiagent.gamer.Game
              |
              +--edu.stanford.multiagent.gamer.LocalEffectGame
                    |
                    +--edu.stanford.multiagent.gamer.RandomLEG
                          |
                          +--edu.stanford.multiagent.gamer.UniformLEG

public class UniformLEG
extends RandomLEG

Generate a Local Effect Game with a given graphical structure and a given function structure such that every edge from b to a has the same local effect as an edge from c to a. (This is opposite notation from the LEG literature.) Very similar to RandomLEG except for the generation function.


Field Summary
 
Fields inherited from class edu.stanford.multiagent.gamer.RandomLEG
pFunc, pFuncParams, pGraph, pGraphParams, rlegParam
 
Fields inherited from class edu.stanford.multiagent.gamer.LocalEffectGame
graph
 
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
UniformLEG()
           
 
Method Summary
 void doGenerate()
          Generates the graph and for each node and edge of the graph, a function, making sure that functions are the same on every edge from b to a as they are on the edge from c to a.
protected  java.lang.String getGameHelp()
          Return help screen information about the given game class.
 
Methods inherited from class edu.stanford.multiagent.gamer.RandomLEG
checkParameters, initGraph, initialize, randomizeParameters, setParameters
 
Methods inherited from class edu.stanford.multiagent.gamer.LocalEffectGame
getPayoff
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformLEG

public UniformLEG()
           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 RandomLEG

doGenerate

public void doGenerate()
Generates the graph and for each node and edge of the graph, a function, making sure that functions are the same on every edge from b to a as they are on the edge from c to a.

Overrides:
doGenerate in class RandomLEG