Serialized Form


Package edu.princeton.plot

Class edu.princeton.plot.Plot2D extends javax.swing.JPanel implements Serializable

Serialized Fields

hashX

double[] hashX

hashY

double[] hashY

doNotPaintMain

boolean doNotPaintMain

topPanel

javax.swing.JPanel topPanel

DELAY

int DELAY

clicked

boolean clicked

doNotDraw

boolean doNotDraw

minX_fin

double minX_fin

maxX_fin

double maxX_fin

maxY_fin

double maxY_fin

minY_fin

double minY_fin

x1

int x1

x2

int x2

y1

int y1

y2

int y2

xCross

int xCross

yCross

int yCross

x

int x

y

int y

coordinateLabel

javax.swing.JMenuItem coordinateLabel

generalWrapperPanel

javax.swing.JComponent generalWrapperPanel

antiAlias

boolean antiAlias

aliasing

javax.swing.JCheckBoxMenuItem aliasing

isUniformAxis

boolean isUniformAxis

uniformBounds

javax.swing.JCheckBoxMenuItem uniformBounds

paintGrid

boolean paintGrid

paintGridItem

javax.swing.JCheckBoxMenuItem paintGridItem

w

int w

h

int h

minX

double minX

maxX

double maxX

minY

double minY

maxY

double maxY

BACKGROUND

java.awt.Color BACKGROUND

popup

javax.swing.JPopupMenu popup

zoom_get_x

int zoom_get_x

zoom_get_y

int zoom_get_y

title

java.lang.String title

x_axis

java.lang.String x_axis

y_axis

java.lang.String y_axis

Class edu.princeton.plot.Plot2D.GeneralWrapperPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

plot

edu.princeton.plot.Plot2D plot

innerPanel

javax.swing.JPanel innerPanel

Class edu.princeton.plot.Point extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

x

double x
x-coordinate


y

double y
y-coordinate

Class edu.princeton.plot.SimplePlot extends edu.princeton.plot.Plot2D implements Serializable

Serialized Fields

hasSetBounds

boolean hasSetBounds

editSeries

javax.swing.JMenuItem editSeries

series

java.util.ArrayList<E> series

Package edu.princeton.repeatedgames.rgsolve

Class edu.princeton.repeatedgames.rgsolve.AlgoParameters extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

algo_type

AlgoParameters.ALGO_TYPE algo_type
The algorithm to be used (AS or APS) by rgsolve


convergeTol

double convergeTol
The convergence criterion that should be used by the solver. The solver stops (and considers the routine \converged") if (a) the number of extreme points between successive iterates is the same and (b) the (sup-norm) distance between corresponding extreme points in successive iterates is less than this value.


intersectTol

double intersectTol
This tells the program the \slack" to give the solver when calculating I.C.'s. This is for cases where an I.C.-constraint is lies right up against the edge of the feasible set, and numerical error would cause the program to not generate the correct points.


angTol

double angTol
If is smoothHull is selected, this tells the convex hull routine how "flat" angles between 3 adjacent points have to be to eliminate the middle point. If the angle formed by the three points is in excess of Pi minus this value, the middle point is deleted.


ccwTol

double ccwTol
If is smoothHull is selected, this tells the convex hull routine the minimum (robustly calculated) signed area to allow between 3 adjacent extreme points. If the signed area is less than this value, the middle point is deleted.


maxIters

int maxIters
The maximum number of iterations the solver should do before prompting the user about whether to terminate the algorithm or to use more iterations.


maxGenPts

int maxGenPts
Typically, the solver generates many candidate extreme points over the course of an iteration, and then takes the convex hull at the end to delete extraneous points. However, to conservememory, once the number of candidate points exceeds this number, the hull is taken immediately and the extraneous points (up to that time) are deleted.


keepIters

boolean keepIters
A switch for whether the program should keep a record of all iterations performed, or just keep what happened in the last iteration


smoothHull

boolean smoothHull
This is a switch for whether the convex hull routine should "smooth" the hull by eliminating extraneous extreme points via certain robustness checks, or whether the convex hull routine should naively return all potential extreme points based on a potentially inaccurate floating point signed area calculations.


useMinMax

boolean useMinMax
Switch for whether the initial thread point should be the minmax payoffs, or the minimum component-wise payoffs


continueIters

boolean continueIters
Whether the solver should quit after keepIters iterations or prompt the user for more iterations


doRounding

boolean doRounding
If selected, all calculations in the solver are rounded to the number of digits in roundDigits.


roundDigits

int roundDigits
Digits to round to if doRounding is selected


keepActions

boolean keepActions
A switch for whether or not the program should keep a record of the I.C./Feasible-Set intersections (and thereby a record of all candidate extreme points generated), or just keep the extreme points that survive the convex hull operation.


doMultiThread

boolean doMultiThread
On systems with multi-core processors, selecting this tells the solver to break up some of the computationally intensive tasks within an iterations and to send each sub-task to a different processor to speed up computation time. Even if selected, the solver will only multi-thread games where the number of action profiles e xceeds five million.


useRectangleW0

boolean useRectangleW0
Use a rectangle containing feasible set as W0 rather than hull of feasible payoffs

Class edu.princeton.repeatedgames.rgsolve.RGIter extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

iter

int iter
the iteration number


W

GameExtremePoint[] W
W is the payoff set at the *start* of this iteration


punishment

Point punishment
punishment vector u at the *start* of this iteration


intersections

Point[][] intersections
intersections[a] saves the intersections at action a=(a1*m2+a2) during this iteration. intersections[a] is null if this action cannot be supported


usableActions

BitSetFixed usableActions
Shows which action profiles are usable as of the *end* of this iteration


genPtsCount

long genPtsCount
counter on potential exteme points generated over the course of this iteration


numDrop_start

int numDrop_start
number of action profiles dropped at start of this iteration


numDrop_end

int numDrop_end
number of action profiles dropped by end of this iteration

Class edu.princeton.repeatedgames.rgsolve.RGSolution extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

params

AlgoParameters params
The parameters used in constructing this sol'n


algo_type

AlgoParameters.ALGO_TYPE algo_type
algorithm used, AS or APS


game

Game game
the game associated with this solution


W0

Point[] W0
the initial feasible set containing V* used at start of algorithm


V_star

GameExtremePoint[] V_star
The equilibrium payoff set V* (or final payoff set before algorithm terminated.


punishment_star

Point punishment_star
The equilibrium threat point, (or threat point where algo stopped)


iterList

java.util.ArrayList<E> iterList
A list of RGIter objects, each of which stores information on the algorithm's steps within an iteration


BR1

int[] BR1
Best response actions for player 1


BR2

int[] BR2
Best response actions for player 2


iters

int iters
the number of iterations


time_ms

long time_ms
the time (in ms) to convergence


converged

boolean converged
did the algorithm converge to the tolerance set in params?


error

double error
max sup-distance between corresponding vertices of last two iterates


genPtsCount

long genPtsCount
the number of potential extreme points generated over course of algoritm


keptActions

boolean keptActions
did we store information on action-wise IC-intersections?


fromInnerApproximation

boolean fromInnerApproximation
whether or not this solution was generated via an inner approximation

Class edu.princeton.repeatedgames.rgsolve.RGSolution.RGSolutionUserRule extends RGSolution implements Serializable

serialVersionUID: 1L

Serialized Fields

gmcode

GameCodeData gmcode
GameCodeData object storing relevant source code for the game corresponding to this solution

Class edu.princeton.repeatedgames.rgsolve.RGSolve extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

doMultiThread

boolean doMultiThread
Does this solver parallelize?


useRectangleW0

boolean useRectangleW0
Use a rectangle containing feasible set as W0 rather than hull of feasible payoffs


game

Game game
The repeated game associated with this instance of the solver


params

AlgoParameters params
the parameters/settings associated with this instance of the solver


delta

double delta
local reference to discount factor


m1

int m1
local reference to number of player 1 actions


m2

int m2
local reference to number of player 2 actions


BR1

int[] BR1
m2-length vector of player 1 best responses


BR2

int[] BR2
m1-length vector of player 2 best responses


usableActions

BitSetFixed usableActions
The usable action profiles; is modified as unsupportable actions are dropped


progressUpdater

RGSolveProgressUpdater progressUpdater
An instance implementing RGSolveProgressUpdater that tells RGSolve where to print status updates


innerApprox

boolean innerApprox
A boolean on whether this solver is for inner approximations. In inner approximation mode, no actions are ever dropped.


staticNashPayoffs

java.util.ArrayList<E> staticNashPayoffs
As a safety precaution, we add in the static pure strategy nash equilibria on every iteration to make sure we don't miss them

Class edu.princeton.repeatedgames.rgsolve.RGSolveApplet extends javax.swing.JApplet implements Serializable


Package edu.princeton.repeatedgames.rgsolve.components

Class edu.princeton.repeatedgames.rgsolve.components.AboutRGSolve extends javax.swing.JFrame implements Serializable

Serialized Fields

error

java.lang.String error

os

java.lang.String os

Class edu.princeton.repeatedgames.rgsolve.components.GameComponents_new extends javax.swing.JSplitPane implements Serializable

Serialized Fields

graphExists

boolean graphExists

displayDigits

int displayDigits

currentGame

Game currentGame

numAct1

edu.princeton.plot.helpercomponents.NumberTextFields.IntegerTextField numAct1

numAct2

edu.princeton.plot.helpercomponents.NumberTextFields.IntegerTextField numAct2

discount

edu.princeton.plot.helpercomponents.NumberTextFields.DoubleTextField discount

digitBox

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner digitBox

minAct1

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner minAct1

maxAct1

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner maxAct1

minAct2

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner minAct2

maxAct2

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner maxAct2

m1

int m1

m2

int m2

gameTabs

javax.swing.JTabbedPane gameTabs

payoffScroll

edu.princeton.repeatedgames.rgsolve.components.GameScrollPane payoffScroll

usableScroll

edu.princeton.repeatedgames.rgsolve.components.GameScrollPane usableScroll

descScr

javax.swing.JScrollPane descScr

gameDescArea

edu.princeton.plot.helpercomponents.BeveledTextArea gameDescArea

payoffPanel

javax.swing.JPanel payoffPanel

usablePanel

javax.swing.JPanel usablePanel

graphPanel

javax.swing.JPanel graphPanel

stateChanging

boolean stateChanging

Class edu.princeton.repeatedgames.rgsolve.components.GameComponents_new.NumSpinner extends javax.swing.JSpinner implements Serializable

Serialized Fields

snm

javax.swing.SpinnerNumberModel snm

Class edu.princeton.repeatedgames.rgsolve.components.GameScrollPane extends javax.swing.JScrollPane implements Serializable

Serialized Fields

type

edu.princeton.repeatedgames.rgsolve.components.GameScrollPane.TYPE type

game

Game game

minRow

int minRow

maxRow

int maxRow

minCol

int minCol

maxCol

int maxCol

numRows

int numRows

numCols

int numCols

gameTable

javax.swing.JTable gameTable

rowHeaders

edu.princeton.repeatedgames.rgsolve.components.RowNumberTable2 rowHeaders

gComps

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new gComps

Class edu.princeton.repeatedgames.rgsolve.components.GameScrollPane.PayoffTableModel extends javax.swing.table.AbstractTableModel implements Serializable

Class edu.princeton.repeatedgames.rgsolve.components.GameScrollPane.SpecialRowNameHeaders extends edu.princeton.repeatedgames.rgsolve.components.RowNumberTable2 implements Serializable

Class edu.princeton.repeatedgames.rgsolve.components.OutputFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

jta

javax.swing.JTextArea jta

SAVE

javax.swing.JMenuItem SAVE

COPY

javax.swing.JMenuItem COPY

Class edu.princeton.repeatedgames.rgsolve.components.RGGui extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

rgsolveapplet

RGSolveApplet rgsolveapplet

thisMenu

javax.swing.JMenuBar thisMenu

thisContainer

java.awt.Container thisContainer

paramGame

Game paramGame

openAppletInFrame

javax.swing.JButton openAppletInFrame

appletIsPoppedOut

boolean appletIsPoppedOut

HELP

javax.swing.JMenuItem HELP

ABOUT

javax.swing.JMenuItem ABOUT

WEBSITE

javax.swing.JMenuItem WEBSITE

LICENSE

javax.swing.JMenuItem LICENSE

SAVE_GAME

javax.swing.JMenuItem SAVE_GAME

SAVE_AS_GAME

javax.swing.JMenuItem SAVE_AS_GAME

LOAD_GAME

javax.swing.JMenuItem LOAD_GAME

NEW_WINDOW

javax.swing.JMenuItem NEW_WINDOW

TEXT_GAME_WINDOW

javax.swing.JMenuItem TEXT_GAME_WINDOW

RULE_GAME_WINDOW

javax.swing.JMenuItem RULE_GAME_WINDOW

COURNOT_DUOPOLY

javax.swing.JMenuItem COURNOT_DUOPOLY

BERTRAND_DUOPOLY

javax.swing.JMenuItem BERTRAND_DUOPOLY

RAND_NORM

javax.swing.JMenuItem RAND_NORM

RAND_UNIFORM

javax.swing.JMenuItem RAND_UNIFORM

PRIS_DILEMMA

javax.swing.JMenuItem PRIS_DILEMMA

HAWK_DOVE

javax.swing.JMenuItem HAWK_DOVE

SMOOTH_BERTRAND

javax.swing.JMenuItem SMOOTH_BERTRAND

GRAB_THE_DOLLAR

javax.swing.JMenuItem GRAB_THE_DOLLAR

BATTLE_OF_THE_SEXES

javax.swing.JMenuItem BATTLE_OF_THE_SEXES

ARMS_RACE

javax.swing.JMenuItem ARMS_RACE

AS_EXAMPLE_1

javax.swing.JMenuItem AS_EXAMPLE_1

AS_EXAMPLE_2

javax.swing.JMenuItem AS_EXAMPLE_2

POP_OUT_SOLUTION

javax.swing.JMenuItem POP_OUT_SOLUTION

KEEP_SOLVING

javax.swing.JMenuItem KEEP_SOLVING

MATHEMATICA

javax.swing.JMenuItem MATHEMATICA

MATLAB

javax.swing.JMenuItem MATLAB

LATEX_VSTAR_EQNS

javax.swing.JMenuItem LATEX_VSTAR_EQNS

SET_MAX_FRAC_CONVERGENTS

javax.swing.JMenuItem SET_MAX_FRAC_CONVERGENTS

SAVE_SOLN

javax.swing.JMenuItem SAVE_SOLN

LOAD_SOLN

javax.swing.JMenuItem LOAD_SOLN

EXIT

javax.swing.JMenuItem EXIT

LATEX_TABLE

javax.swing.JMenuItem LATEX_TABLE

SHOW_V_STAR

javax.swing.JMenuItem SHOW_V_STAR

GET_PSNE

javax.swing.JMenuItem GET_PSNE

GET_BR

javax.swing.JMenuItem GET_BR

GET_IESDS

javax.swing.JMenuItem GET_IESDS

SINGLE_LH

javax.swing.JMenuItem SINGLE_LH

ALL_LH

javax.swing.JMenuItem ALL_LH

FICT_PLAY

javax.swing.JMenuItem FICT_PLAY

mainVertSplit

javax.swing.JSplitPane mainVertSplit

curFileName

java.lang.String curFileName

curFileExt

java.lang.String curFileExt

rgSoln

RGSolution rgSoln

isApplet

boolean isApplet

settingsPanel

edu.princeton.repeatedgames.rgsolve.components.SettingsPanel settingsPanel

topComp

edu.princeton.repeatedgames.rgsolve.components.TopComponent topComp

gameComp

edu.princeton.repeatedgames.rgsolve.components.GameComponents_new gameComp

tabs

javax.swing.JTabbedPane tabs

progressBar

javax.swing.JProgressBar progressBar

ProgressPanel

javax.swing.JPanel ProgressPanel

STOP

javax.swing.JButton STOP

progSplitPane

javax.swing.JSplitPane progSplitPane

wasStopped

boolean wasStopped

topProgPanel

javax.swing.JPanel topProgPanel

solutionPanel

javax.swing.JPanel solutionPanel

progText

javax.swing.JTextArea progText

progTextScroll

javax.swing.JScrollPane progTextScroll

calledFromMatlab

boolean calledFromMatlab

gui_reference

edu.princeton.repeatedgames.rgsolve.components.RGGui gui_reference

Class edu.princeton.repeatedgames.rgsolve.components.RGGui.RgsolveMenuItem extends javax.swing.JMenuItem implements Serializable

Class edu.princeton.repeatedgames.rgsolve.components.RGSolveSplashScreen extends javax.swing.JDialog implements Serializable

Serialized Fields

timer

javax.swing.Timer timer

delay_ms

int delay_ms

comp

java.awt.Component comp

WIDTH

int WIDTH

HEIGH

int HEIGH

Class edu.princeton.repeatedgames.rgsolve.components.RowNumberTable2 extends javax.swing.JTable implements Serializable

Serialized Fields

main

javax.swing.JTable main

Class edu.princeton.repeatedgames.rgsolve.components.SettingsPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

settingsMenu

javax.swing.JMenu settingsMenu

setToDefaults

javax.swing.JMenuItem setToDefaults

saveCustomParams

javax.swing.JMenuItem saveCustomParams

loadCustomParams

javax.swing.JMenuItem loadCustomParams

convergeTol

edu.princeton.plot.helpercomponents.NumberTextFields.DoubleTextField convergeTol

intersectTol

edu.princeton.plot.helpercomponents.NumberTextFields.DoubleTextField intersectTol

angTol

edu.princeton.plot.helpercomponents.NumberTextFields.DoubleTextField angTol

ccwTol

edu.princeton.plot.helpercomponents.NumberTextFields.DoubleTextField ccwTol

maxIters

edu.princeton.plot.helpercomponents.NumberTextFields.IntegerTextField maxIters

maxGenPts

edu.princeton.plot.helpercomponents.NumberTextFields.IntegerTextField maxGenPts

roundDigits

edu.princeton.plot.helpercomponents.DigitSpinner roundDigits

keepIters

javax.swing.JCheckBox keepIters

smoothHull

javax.swing.JCheckBox smoothHull

roundBox

javax.swing.JCheckBox roundBox

keepActions

javax.swing.JCheckBox keepActions

doMulti

javax.swing.JCheckBox doMulti

default_keepIters

boolean default_keepIters

default_smooth

boolean default_smooth

default_useMinMax

boolean default_useMinMax

default_continue

boolean default_continue

fieldObjects

java.awt.Component[] fieldObjects

APS_but

javax.swing.JRadioButton APS_but

AS_but

javax.swing.JRadioButton AS_but

Class edu.princeton.repeatedgames.rgsolve.components.SolutionGraph extends edu.princeton.plot.Plot2D implements Serializable

Serialized Fields

addToolbar

boolean addToolbar

numActSlidValsPerIter

java.util.ArrayList<E> numActSlidValsPerIter

actSliderMap

java.util.HashMap<K,V> actSliderMap

allActionMap

java.util.HashMap<K,V> allActionMap

staticNashList

double[][] staticNashList

actionSliderValue

int actionSliderValue

iterSliderValue

int iterSliderValue

title

java.lang.String title

outputDigits

int outputDigits

digitSpinner

edu.princeton.plot.helpercomponents.DigitSpinner digitSpinner

doNothingOnChange

boolean doNothingOnChange

timer

javax.swing.Timer timer

iterSlider

javax.swing.JSlider iterSlider

actionSlider

javax.swing.JSlider actionSlider

extPtSlider

javax.swing.JSlider extPtSlider

fullAlgoSlider

javax.swing.JSlider fullAlgoSlider

numPicturesSaved

int numPicturesSaved

saveNum

int saveNum

savePictures

boolean savePictures

dateFormat

java.text.DateFormat dateFormat

savePictureName

java.lang.String savePictureName

df

java.text.DecimalFormat df

iterSlidBrd

javax.swing.border.TitledBorder iterSlidBrd

actSlidBrd

javax.swing.border.TitledBorder actSlidBrd

extPtSlidBrd

javax.swing.border.TitledBorder extPtSlidBrd

fullAlgoSlidBrd

javax.swing.border.TitledBorder fullAlgoSlidBrd

showFullAlgo

javax.swing.JButton showFullAlgo

pauseButton

javax.swing.JButton pauseButton

gotoCont1

javax.swing.JButton gotoCont1

gotoCont2

javax.swing.JButton gotoCont2

showSpeeds

javax.swing.JComboBox showSpeeds

showingAlgoNow

boolean showingAlgoNow

showCounter

int showCounter

showCounterMax

int showCounterMax

showPrevPts

javax.swing.JCheckBoxMenuItem showPrevPts

showVertices

javax.swing.JCheckBoxMenuItem showVertices

enableAllActions

javax.swing.JCheckBoxMenuItem enableAllActions

showPunishment

javax.swing.JCheckBoxMenuItem showPunishment

showKey

javax.swing.JCheckBoxMenuItem showKey

showFeasibleSet

javax.swing.JCheckBoxMenuItem showFeasibleSet

showStaticNash

javax.swing.JCheckBoxMenuItem showStaticNash

keptActions

boolean keptActions

game

Game game

delta

double delta

BR1

int[] BR1

BR2

int[] BR2

iters

int iters

V_star

GameExtremePoint[] V_star

payoffHull

Point[] payoffHull

algo_type

AlgoParameters.ALGO_TYPE algo_type

iterList

java.util.ArrayList<E> iterList

converged

boolean converged

info

javax.swing.JTextArea info

dash

java.awt.Stroke dash

dashFeasible

java.awt.Stroke dashFeasible

wrapper

SolutionGraph.SolutionWrapperPanel wrapper

retObject

RGSolution retObject

PLAY

javax.swing.ImageIcon PLAY

STOP

javax.swing.ImageIcon STOP

PAUSE

javax.swing.ImageIcon PAUSE

haveIcons

boolean haveIcons

Class edu.princeton.repeatedgames.rgsolve.components.SolutionGraph.SolutionWrapperPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

MATHEMATICA

javax.swing.JMenuItem MATHEMATICA

MATLAB

javax.swing.JMenuItem MATLAB

LATEX_VSTAR_EQNS

javax.swing.JMenuItem LATEX_VSTAR_EQNS

SET_MAX_FRAC_CONVERGENTS

javax.swing.JMenuItem SET_MAX_FRAC_CONVERGENTS

SHOW_V_STAR

javax.swing.JMenuItem SHOW_V_STAR

graph

SolutionGraph graph

key

java.awt.Component key

vertSplit

javax.swing.JSplitPane vertSplit

horzSplit

javax.swing.JSplitPane horzSplit

graphPanel

javax.swing.JPanel graphPanel

scrollText

javax.swing.JScrollPane scrollText

Class edu.princeton.repeatedgames.rgsolve.components.StageGamePayoffGraph extends edu.princeton.plot.Plot2D implements Serializable

Serialized Fields

payoffHull

Point[] payoffHull

wrapper

javax.swing.JComponent wrapper

gm

Game gm

takeHull

int takeHull

m1

int m1

m2

int m2

Class edu.princeton.repeatedgames.rgsolve.components.TopComponent extends javax.swing.JPanel implements Serializable

Serialized Fields

SOLVE

javax.swing.JButton SOLVE

time

javax.swing.JLabel time

numIters

javax.swing.JLabel numIters

error

javax.swing.JLabel error

ptsGen

javax.swing.JLabel ptsGen

df

java.text.DecimalFormat df

Package edu.princeton.repeatedgames.rgsolve.games

Class edu.princeton.repeatedgames.rgsolve.games.BimatrixGame extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

G1

double[][] G1
payoff matrix to player 1


G2

double[][] G2
payoff matrix to player 2

Class edu.princeton.repeatedgames.rgsolve.games.Game extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

description

java.lang.String description
notes on or description of a game


delta

double delta
discount, initialized to DEFAULT_DELTA


m1

int m1
number of player 1 actions


m2

int m2
number of player 2 actions


usableActions

BitSetFixed usableActions
actions profiles that are usable in equilibrium

Class edu.princeton.repeatedgames.rgsolve.games.ScaledGame extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

game

Game game
The base game


slope

double[] slope
slope of payoff scaling


offset

double[] offset
intercept of payoff scaling

Class edu.princeton.repeatedgames.rgsolve.games.SymmetricBimatrixGame extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

G

double[][] G
G is payoff matrix to player 1 G' is payoff matrix to player 2


Package edu.princeton.repeatedgames.rgsolve.games.specialgames

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.AbreuSannikovExample1 extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.AbreuSannikovExample2 extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.ArmsRace extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

max1

double max1
maximum expenditure of player 1


threat1

double threat1
Linear value of expenditure excess of player 1 relative to 2


fatigue1

double fatigue1
quadratic cost of expenditure to player 1


max2

double max2
maximum expenditure of player 2


threat2

double threat2
Linear value of expenditure excess of player 2 relative to 1


fatigue2

double fatigue2
quadratic cost of expenditure to player 2

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.BattleOfTheSexes extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.BertrandImperfectSubs extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

A

double A
Intercept of demand curve


B

double B
Slope of demand curve


c1

double c1
Constant marginal cost of player 1


c2

double c2
Constant marginal cost of player 2


maxPrice

double maxPrice
Highest price action

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.BertrandPerfectSubs extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

A

double A
Quantity demanded at price zero


B

double B
(Negative) slope of demand curve


c1

double c1
Constant marginal cost of player 1


c2

double c2
Constant marginal cost of player 2


maxPrice

double maxPrice
Highest price action

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.CournotGame extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

A

double A
Price at Q = 0


B

double B
Negative slope of inverse demand curve


c1

double c1
Constant marginal cost of player 1


c2

double c2
Constant marginal cost of player 2


maxOutput1

double maxOutput1
Maximum output for player 1


maxOutput2

double maxOutput2
Maximum output for player 2

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.GrabTheDollar extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

stageDiscount

double stageDiscount
Stage discount rate


prize

double prize
prize


penalty

double penalty
penalty

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.HawkDove extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.PrisonersDilemma extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.RandomNormalGame extends BimatrixGame implements Serializable

serialVersionUID: 1L

Serialized Fields

mu1

double mu1
Mean for player 1


sigma1

double sigma1
Std Deviation for player 1


mu2

double mu2
Mean for player 2


sigma2

double sigma2
Std Deviation for player 2


rho

double rho
Correlation between payoffs

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.Sierpinski extends BimatrixGame implements Serializable

serialVersionUID: 1L

Class edu.princeton.repeatedgames.rgsolve.games.specialgames.SimpleCournot extends Game implements Serializable

serialVersionUID: 1L

Serialized Fields

maxOutput

double maxOutput
maximum output that drives price to zero


A

double A
demand price intercept


B

double B
demand price slope


c

double[] c
marginal costs to players


Package edu.princeton.repeatedgames.rgsolve.polygon

Class edu.princeton.repeatedgames.rgsolve.polygon.GameExtremePoint extends Point implements Serializable

serialVersionUID: 1L

Serialized Fields

a1

int a1
Player 1 action generating this point


a2

int a2
Player 2 action generating this point


continIndex1

int continIndex1
index of point in extreme-point-table used in constructing continuation value


continIndex2

int continIndex2
index of point in extreme-point-table used in constructing continuation value


weight1

double weight1
Indicates the probability weight on the Extreme Point in continIndex1. This vertex equals (1-delta) g(a1,a2) + delta * (weight1 * continIndex1 + (1-weight1) * continIndex2).


stageConstraint

GameExtremePoint.CONSTRAINT stageConstraint
Identity of binding I.C. constraints at the stage payoff supporting this point


continConstraint

GameExtremePoint.CONSTRAINT continConstraint
Identity of binding I.C. constraints at the continuation payoff supporting this point

Class edu.princeton.repeatedgames.rgsolve.polygon.GameExtremePointList extends java.util.ArrayList<GameExtremePoint> implements Serializable


Package edu.princeton.repeatedgames.rgsolve.utilities

Class edu.princeton.repeatedgames.rgsolve.utilities.BitSetFixed extends java.util.BitSet implements Serializable

Serialized Fields

length

int length
the length of this bitset


Package edu.princeton.repeatedgames.rgsolve.utilities.gamecompiler

Class edu.princeton.repeatedgames.rgsolve.utilities.gamecompiler.GameCodeData extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

m1

int m1
number of actions to player 2


m2

int m2
number of actions to player 2


delta

double delta
discount factor


constructor

java.lang.String constructor
code block for the body of the constructor falling the call to super


fields

java.lang.String fields
code block defining additional fields of this Game subclass


payoff1

java.lang.String payoff1
code block defining the payoffs to player 1 in the method @Override payoff1(int,int)


payoff2

java.lang.String payoff2
code block defining the payoffs to player 2 in the method @Override payoff2(int,int)


gameNotes

java.lang.String gameNotes
any description of or notes on this game


name

java.lang.String name
the name of this game

Class edu.princeton.repeatedgames.rgsolve.utilities.gamecompiler.GameWriter.TextArea extends javax.swing.JPanel implements Serializable

Serialized Fields

area

javax.swing.text.JTextComponent area

scroll

javax.swing.JScrollPane scroll

Class edu.princeton.repeatedgames.rgsolve.utilities.gamecompiler.TempGameHolder extends Game implements Serializable

Serialized Fields

gmcodeData

GameCodeData gmcodeData
Stores the code data used to generate the source for this game