A B C D E F G H I L M N O P R S T U V W Z

A

actions - Static variable in class edu.stanford.multiagent.gamer.Game
 
addEdge(int, int) - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Adds an edge from player1 to player2 but leaves the data for the edge set to null.
addEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Add a new edge to the graph.
addEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Adds an edge.
addEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Adds a new edge to the graph between nodes s and t.
addEdge(int, int, DoubleTensor) - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Adds an edge from player1 to player2 if the player numbers are valid, and sets the matrix at the edge to the one given.
addEdge(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Add an edge with data to the graph.
addEdge(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Add an edge with data Currently not implemented, does the same thing as the other version of addEdge.
addEdge(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Adds a new edge to the graph between nodes s and t and sets the edge data for this edge.
addNode() - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Adds a new node to the graph.
addNode() - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Adds a node.
addNode() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Adds a new node to the graph.
ALGraph - class edu.stanford.multiagent.gamer.graphs.ALGraph.
An Adjacency list implementation of the Graph interface.
ALGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.ALGraph
Constructor
ALGraph(int) - Constructor for class edu.stanford.multiagent.gamer.graphs.ALGraph
Constructor which initializes the number of nodes.
AMGraph - class edu.stanford.multiagent.gamer.graphs.AMGraph.
An Adjacency matrix implementation of the Graph interface Not fully implemented.
AMGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.AMGraph
Constructor
AMGraph(int) - Constructor for class edu.stanford.multiagent.gamer.graphs.AMGraph
Constructor, initializes the number of nodes
areNeighbours(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Checks if two nodes are neighbours in the graph.
areNeighbours(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Checks if two nodes are neighbours.
areNeighbours(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Checks if two nodes are neighbours, i.e.
ArmsRace - class edu.stanford.multiagent.gamer.ArmsRace.
Return an instance of a discretized Arms Race game using user specified functions.
ArmsRace() - Constructor for class edu.stanford.multiagent.gamer.ArmsRace
 
arrayToString(String[], String) - Static method in class edu.stanford.multiagent.gamer.GameOutput
Converts an array of Strings into one long String in which each element of the array is separated from the next by the specified seperator.

B

BAGraph - class edu.stanford.multiagent.gamer.graphs.BAGraph.
Generetes a power-law out-degree graph using Barabasi-Albert model.
BAGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.BAGraph
 
BattleOfTheSexes - class edu.stanford.multiagent.gamer.BattleOfTheSexes.
Return a version of the Battle of the Sexes game
BattleOfTheSexes() - Constructor for class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
BertrandOligopoly - class edu.stanford.multiagent.gamer.BertrandOligopoly.
Returns an instance of the Bertrand Oligopoly.
BertrandOligopoly() - Constructor for class edu.stanford.multiagent.gamer.BertrandOligopoly
 
BidirectionalLEG - class edu.stanford.multiagent.gamer.BidirectionalLEG.
Generate a Local Effect Game with a given graphical structure and a given function structure such that the function stored on an edge a to b is the same as the function stored on an edge b to a.
BidirectionalLEG() - Constructor for class edu.stanford.multiagent.gamer.BidirectionalLEG
 
BOOLEAN_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 

C

calculatePayoff(int, BitSet, BitSet, BitSet) - Method in class edu.stanford.multiagent.gamer.GeometricGame
Calculates the payoff for a player based on the set chosen by player one, the set chosen by player 2, and the intersection of these two sets.
calculatePayoff(int, BitSet, BitSet, BitSet) - Method in class edu.stanford.multiagent.gamer.GreedyGame
All geometric games must provide a function to calculate the payoff for each player based on the sets chosen and the intersection between them.
calculatePayoff(int, BitSet, BitSet, BitSet) - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
All geometric games must provide a function to calculate the payoff for each player based on the sets chosen and the intersection between them.
cgParam - Static variable in class edu.stanford.multiagent.gamer.CoordinationGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.ArmsRace
Make sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.Chicken
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.CongestionGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.CoordinationGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.CovariantGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.DispersionGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.GrabTheDollar
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.GreedyGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.HawkAndDove
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.LocationGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.MajorityVoting
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.MatchingPennies
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.MinimumEffortGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Make sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Make sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Checks if Parameter values are consistent.
checkParameters() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
This will be done for the subgame matrices and the graph separately
checkParameters() - Method in class edu.stanford.multiagent.gamer.PrisonersDilemma
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.RandomCompoundGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.RandomGame
None to check
checkParameters() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.RandomLEG
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.RandomZeroSum
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.RockPaperScissors
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.ShapleysGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.TravelersDilemma
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.TwoByTwoGame
Checks that parameters are ok
checkParameters() - Method in class edu.stanford.multiagent.gamer.WarOfAttrition
Make sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.ExpFunction
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingPoly
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.LogFunction
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
 
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
May be implemented by subclasses to check parameters if any exist.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
Makes sure that the parameters are in the proper range.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Makes sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
Makes sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
Makes sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Makes sure that the parameters are in the proper range.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Makes sure that the parameters are in the proper range.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
Makes sure that the parameters are in the proper range
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
Makes sure that the parameters are in the proper ranges.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Makes sure that the parameters are in the proper range.
checkParameters() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
Makes sure that the parameters are in the proper range.
checkSet() - Method in class edu.stanford.multiagent.gamer.Parameters
Checks that every parameter has been set somehow
Chicken - class edu.stanford.multiagent.gamer.Chicken.
Return a version of the two player Chicken game.
Chicken() - Constructor for class edu.stanford.multiagent.gamer.Chicken
 
CMDLINE_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
coefs - Variable in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
CollaborationGame - class edu.stanford.multiagent.gamer.CollaborationGame.
Return an instance of a collaboration game.
CollaborationGame() - Constructor for class edu.stanford.multiagent.gamer.CollaborationGame
 
commentString(String, String) - Static method in class edu.stanford.multiagent.gamer.GameOutput
Properly adds and formats comments to the output in the comment format specified.
CompleteGraph - class edu.stanford.multiagent.gamer.graphs.CompleteGraph.
Generates a complete graph with the specified number of nodes.
CompleteGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Constructor to be used when parameters are coming from the command line.
CompleteGraph(long, boolean) - Constructor for class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Constructor to be used when parameters are being set by the game creating the graph
CompoundGame - class edu.stanford.multiagent.gamer.CompoundGame.
Class implements any compound game.
CompoundGame() - Constructor for class edu.stanford.multiagent.gamer.CompoundGame
Construct a new Compound game.
ConcaveTableFunction - class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction.
Class implements a table lookup concave function (for truly random table functions)
ConcaveTableFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction
 
CongestionGame - class edu.stanford.multiagent.gamer.CongestionGame.
Class implements a congestion game in which there is a set of "facilities" and each player chooses some subset of these.
CongestionGame() - Constructor for class edu.stanford.multiagent.gamer.CongestionGame
 
CoordinationGame - class edu.stanford.multiagent.gamer.CoordinationGame.
Return an instance of a coordination game.
CoordinationGame() - Constructor for class edu.stanford.multiagent.gamer.CoordinationGame
 
CournotDuopoly - class edu.stanford.multiagent.gamer.CournotDuopoly.
Return an instance of the Cournot Duopoly using user specified functions for the cost and inverse demand.
CournotDuopoly() - Constructor for class edu.stanford.multiagent.gamer.CournotDuopoly
 
CovariantGame - class edu.stanford.multiagent.gamer.CovariantGame.
Return a game, where payoffs for players are drawn from a multi-normal with covariance r.
CovariantGame() - Constructor for class edu.stanford.multiagent.gamer.CovariantGame
Construct a new game

D

DecreasingWrapper - class edu.stanford.multiagent.gamer.functions.DecreasingWrapper.
A Wrapper that takes an arbitrary increasing function, and turns it into a decreasing one (by negating)
DecreasingWrapper() - Constructor for class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
DEFAULT_HIGH - Static variable in class edu.stanford.multiagent.gamer.Game
 
DEFAULT_LOW - Static variable in class edu.stanford.multiagent.gamer.Game
 
defaultValue - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
didChooseFac(long, int) - Method in class edu.stanford.multiagent.gamer.CongestionGame
Returns true if facility fac is selected for action act.
DispersionGame - class edu.stanford.multiagent.gamer.DispersionGame.
Class implements a specific kind of dispersion game: both action symmetric and agent symmetric as defined in the dispersion games literature, also strong, and common payoff.
DispersionGame() - Constructor for class edu.stanford.multiagent.gamer.DispersionGame
 
dMax - Variable in class edu.stanford.multiagent.gamer.functions.Function
 
dMin - Variable in class edu.stanford.multiagent.gamer.functions.Function
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.ArmsRace
Generates the functions.
doGenerate() - Method in class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
Generates the demand and cost functions which are needed to determine payoffs.
doGenerate() - Method in class edu.stanford.multiagent.gamer.BidirectionalLEG
Generate the graph and for each node and edge of the graph, a function, making sure that functions are the same on every edge from a to b as they are on the edge from b to a.
doGenerate() - Method in class edu.stanford.multiagent.gamer.Chicken
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.CollaborationGame
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.
doGenerate() - Method in class edu.stanford.multiagent.gamer.CongestionGame
Generate all of the payoff functions for each player for each facility
doGenerate() - Method in class edu.stanford.multiagent.gamer.CoordinationGame
Generate 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.
doGenerate() - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
Generate the inverse demand and cost functions.
doGenerate() - Method in class edu.stanford.multiagent.gamer.CovariantGame
Fills in the payoffs
doGenerate() - Method in class edu.stanford.multiagent.gamer.DispersionGame
Generate all groupings of outcomes that will have the same entropy with the given number of players and number of actions.
doGenerate() - Method in class edu.stanford.multiagent.gamer.GrabTheDollar
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.GreedyGame
Generate game, set all variables so that payoffs can be calculated when they are needed.
doGenerate() - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
Not really anything to generate
doGenerate() - Method in class edu.stanford.multiagent.gamer.HawkAndDove
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.LocationGame
All information for generating payoffs for the location game is contained in the parameter set.
doGenerate() - Method in class edu.stanford.multiagent.gamer.MajorityVoting
Generate the game and store all of the players' utilities for each candidate in preferences matrix
doGenerate() - Method in class edu.stanford.multiagent.gamer.MatchingPennies
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.MinimumEffortGame
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Generate the game.
doGenerate() - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Generate the game
doGenerate() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Generate a (random) instance of the subclass based on input parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
Generate the matrices for each node of the graph and the graph connecting neighbors to each other.
doGenerate() - Method in class edu.stanford.multiagent.gamer.PrisonersDilemma
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.RandomCompoundGame
Generate the symmetric 2x2 subgame and create a polymatrix game with this 2x2 matrix at all edges except the edges from nodes to themselves which will have stub 0 matrices.
doGenerate() - Method in class edu.stanford.multiagent.gamer.RandomGame
Fill in the payoffs
doGenerate() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
Generate the matrices for each node of the graph graph and the graph connecting neighbors to each other.
doGenerate() - Method in class edu.stanford.multiagent.gamer.RandomLEG
Generate the graph and for each node and edge of the graph, a function.
doGenerate() - Method in class edu.stanford.multiagent.gamer.RandomZeroSum
Create an instance of the zero sum game
doGenerate() - Method in class edu.stanford.multiagent.gamer.RockPaperScissors
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.ShapleysGame
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
Generate game, set all variables so that payoffs can be calculated when they are needed
doGenerate() - Method in class edu.stanford.multiagent.gamer.TravelersDilemma
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.TwoByTwoGame
Fills in the payoffs
doGenerate() - Method in class edu.stanford.multiagent.gamer.UniformLEG
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.
doGenerate() - Method in class edu.stanford.multiagent.gamer.WarOfAttrition
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction
Generate the table
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
Computes the additive constant to satisfy the min parameter.
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.ExpFunction
There is no generation whatsoever involved for the exponential function.
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.LogFunction
Shifts the function if the domain min is less than or equal to 0.
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
The only thing involved in generating the polynomial is storing the coefficients in a more easily accessable variable.
doGenerate() - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
Generates the table.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
Generates a random graph with given parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Generate a random graph with given parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
Generates the N-ary tree of the given depth
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
Generate an N-dimensional grid graph
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalWrappedGrid
 
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Generates a random graph with given parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Generates a random graph with given parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
Generates a ring structured graph getting the number of nodes from the parameters
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
Generates a road structured graph getting the number of nodes from the parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Generates a random graph with given parameters.
doGenerate() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
Generate the Star graph
DOUBLE_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
DoubleOutput - class edu.stanford.multiagent.gamer.DoubleOutput.
Outputs a game in the gambit and gametracer output formats Separated by SEP
DoubleOutput() - Constructor for class edu.stanford.multiagent.gamer.DoubleOutput
 
DoubleTensor - class edu.stanford.multiagent.gamer.DoubleTensor.
The DoubleTensor class can be used to store matrices of any dimension.
DoubleTensor(int[]) - Constructor for class edu.stanford.multiagent.gamer.DoubleTensor
Constructor
DuplicateTest - class DuplicateTest.
 
DuplicateTest() - Constructor for class DuplicateTest
 

E

Edge - class edu.stanford.multiagent.gamer.graphs.Edge.
Implements an Edge data structure for graphs.
Edge(int, int) - Constructor for class edu.stanford.multiagent.gamer.graphs.Edge
 
edu.stanford.multiagent.gamer - package edu.stanford.multiagent.gamer
 
edu.stanford.multiagent.gamer.functions - package edu.stanford.multiagent.gamer.functions
 
edu.stanford.multiagent.gamer.graphs - package edu.stanford.multiagent.gamer.graphs
 
emptyParser - Static variable in class edu.stanford.multiagent.gamer.ParamParser
 
EPSILON - Static variable in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.ExpFunction
 
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.Function
Evaluates the function at a single point and return the value
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.LogFunction
 
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Evaluate the polynomial
eval(double) - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
Evaluates the table, by finding nearest point.
eval(double[]) - Method in class edu.stanford.multiagent.gamer.functions.VectorFunction
Returns the value of the function evaluated on x.
ExpFunction - class edu.stanford.multiagent.gamer.functions.ExpFunction.
Implements an exponential function with given multiplicative and additive terms.
ExpFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.ExpFunction
 

F

factorial(long) - Static method in class edu.stanford.multiagent.gamer.Global
 
FUNC - Static variable in class edu.stanford.multiagent.gamer.Global
 
Function - class edu.stanford.multiagent.gamer.functions.Function.
An abstract class for single-arity function classes
Function() - Constructor for class edu.stanford.multiagent.gamer.functions.Function
 

G

GambitOutput - class edu.stanford.multiagent.gamer.GambitOutput.
Outputs a game in the Gambit .nfg file format.
GambitOutput() - Constructor for class edu.stanford.multiagent.gamer.GambitOutput
 
Game - class edu.stanford.multiagent.gamer.Game.
Abstract class that describes the basic game entity.
GAME - Static variable in class edu.stanford.multiagent.gamer.Global
 
Game() - Constructor for class edu.stanford.multiagent.gamer.Game
The consctructor.
GameOutput - class edu.stanford.multiagent.gamer.GameOutput.
Super class for all game outputters.
GameOutput() - Constructor for class edu.stanford.multiagent.gamer.GameOutput
 
GAMER_STRING - Variable in class edu.stanford.multiagent.gamer.GameOutput
 
gArgs - Static variable in class edu.stanford.multiagent.gamer.Global
 
generate() - Method in class edu.stanford.multiagent.gamer.Game
The generate interface.
generatePolymatrixGame(double, double, double, double) - Method in class edu.stanford.multiagent.gamer.CompoundGame
Sets up the compound game as a graphical game (polymatrix, really) with each submatrix being in the form R, R S, T T, S P, P for whatever values of R, S, T, and P are passed in.
GeometricGame - class edu.stanford.multiagent.gamer.GeometricGame.
Class implements shared details of Geometric Games.
GeometricGame() - Constructor for class edu.stanford.multiagent.gamer.GeometricGame
Constructor for new geometric games.
getAdditional() - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Returns the extra amount to be added to the payoff.
getArity() - Method in class edu.stanford.multiagent.gamer.functions.VectorFunction
Returns the arity of the function
getAutoNormPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.Game
Formats automatically to normalization between 0 and 1 with double payoffs, regardless of parameters.
getBooleanParameter(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the value of the parameter with the given name as a boolean (assuming the parameter is of type boolean).
getBooleanParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getClassList(int) - Static method in class edu.stanford.multiagent.gamer.Global
Return a help string listing all known ground/non-ground classes
getClassParamInfo(Class) - Static method in class edu.stanford.multiagent.gamer.Global
Returns the parameter info array for a given class name
getClassParamInfo(String) - Static method in class edu.stanford.multiagent.gamer.Global
 
getData() - Method in class edu.stanford.multiagent.gamer.graphs.Edge
 
getDerivative() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Returns a derivative polynomial.
getDescription() - Method in class edu.stanford.multiagent.gamer.Game
Returns Game Description (Name, Params, etc)
getDescription() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns description of the class.
getDescription() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
getDest() - Method in class edu.stanford.multiagent.gamer.graphs.Edge
 
getDMax() - Method in class edu.stanford.multiagent.gamer.functions.Function
Returns the maximum value in the domain.
getDMin() - Method in class edu.stanford.multiagent.gamer.functions.Function
Returns the minimum value in the domain.
getDoubleParameter(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the value of the parameter with the given name as a double (assuming the parameter is of type double).
getDoubleParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Returns an Edge object from the graph.
getEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Gets an Edge
getEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Gets an Edge.
getEdges(int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Returns an iterator over the outgoing edges from a node.
getEdges(int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Return an iterator over the outgoing edges
getEdges(int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns an iterator over the outgoing edges from a node.
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.ExpFunction
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.Function
Returns a help string describing the function and the parameters taken by the function
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingPoly
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.LogFunction
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
getFunctionHelp() - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.ArmsRace
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.BidirectionalLEG
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.Chicken
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.CollaborationGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.CongestionGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.CoordinationGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.CovariantGame
Returns the help screen
getGameHelp() - Method in class edu.stanford.multiagent.gamer.DispersionGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.Game
Return help screen information about the given game class.
getGameHelp() - Method in class edu.stanford.multiagent.gamer.GrabTheDollar
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.GreedyGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.HawkAndDove
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.LocationGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.MajorityVoting
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.MatchingPennies
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.MinimumEffortGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.PrisonersDilemma
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RandomCompoundGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RandomGame
Return the help screen
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RandomLEG
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RandomZeroSum
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.RockPaperScissors
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.ShapleysGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.TravelersDilemma
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.TwoByTwoGame
Returns the help screen
getGameHelp() - Method in class edu.stanford.multiagent.gamer.UniformLEG
 
getGameHelp() - Method in class edu.stanford.multiagent.gamer.WarOfAttrition
 
getGeoNumActions(long, long) - Method in class edu.stanford.multiagent.gamer.GeometricGame
Returns the number of possible actions for a player choosing a set of maximum size maxSize from a set of size fullSetSize.
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns a help information string about the particular graph, does not include parameter information.
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalWrappedGrid
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
 
getGraphHelp() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
 
getGroundClasses(int, Set) - Static method in class edu.stanford.multiagent.gamer.Global
 
getGroundClasses(int, String, Set) - Static method in class edu.stanford.multiagent.gamer.Global
Construct a list of ground classes that are subsets of a given typ Puts them into v
getHelp() - Method in class edu.stanford.multiagent.gamer.Game
Returns the help screen
getHelp() - Static method in class edu.stanford.multiagent.gamer.Global
 
getHelp() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Return the help screen
getHelp() - Method in class edu.stanford.multiagent.gamer.functions.Function
Return the help screen
getHelp() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns the help string with information about the graph class and the parameters taken by the class.
getLongParameter(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the value of the parameter with the given name as a long (assuming the parameter is of type long).
getLongParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getMinima(double, double, PolyFunction, Vector) - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Appends all local minima in the specified interval to v.
getMinimum() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Finds the minimum value of the function.
getMinimum(double, double, PolyFunction) - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Does gradient descent to get a local minimum in an interval a,b.
getMultLowTime() - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Returns the multiplier for the lowest time of all players.
getMultYourTime() - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Returns the multiplier for a player's own time.
getName() - Method in class edu.stanford.multiagent.gamer.Game
Returns just the name of the game.
getName(int) - Method in class edu.stanford.multiagent.gamer.Parameters
Returns name of ith parameter
getNEdges() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns the number of edges in the graph.
getNeighbours(int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Returns an iterator over the node's neighbours.
getNeighbours(int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Returns an iterator over the node's neighbours
getNeighbours(int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns an iterator over a node's neighbours.
getNNodes() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns the number of vertices in the graph.
getNodeData(int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns any data that is being stored at a node.
getNormPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.Game
Formats and outputs the payoff after normalization according to set flags.
getNParams() - Method in class edu.stanford.multiagent.gamer.Parameters
Returns number of parameters
getNumActions() - Method in class edu.stanford.multiagent.gamer.Game
Returns an array containing the number of actions that each player has.
getNumActions() - Method in class edu.stanford.multiagent.gamer.Outcome
 
getNumActions(int) - Method in class edu.stanford.multiagent.gamer.Game
Returns the number of actions of the given player or a vector of Integers with the numbers of actions.
getNumDimensions() - Method in class edu.stanford.multiagent.gamer.DoubleTensor
 
getNumDimensions() - Method in class edu.stanford.multiagent.gamer.LongTensor
 
getNumNeighbours(int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Return number of neighbours extending from a node.
getNumOutcomes() - Method in class edu.stanford.multiagent.gamer.Outcome
 
getNumPlayers() - Method in class edu.stanford.multiagent.gamer.Game
Returns the number of players in this game
getNumPlayers() - Method in class edu.stanford.multiagent.gamer.Outcome
 
getObjectOrDie(String, int) - Static method in class edu.stanford.multiagent.gamer.Global
 
getOutcome() - Method in class edu.stanford.multiagent.gamer.Outcome
 
getOutputPayoff(double) - Method in class edu.stanford.multiagent.gamer.Game
Formats and outputs a payoff value according to set flags.
getOutputPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.Game
Formats and outputs the payoff according to set flags.
getParamDescription(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Constructs a string with all parameter values.
getParameter(int) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getParameter(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the value of the parameter with the given name as an Object.
getParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getParameters() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the Parameters object of the class.
getParameters() - Method in class edu.stanford.multiagent.gamer.Parameters
Implement accessors for parameters
getParametersAsHash() - Method in class edu.stanford.multiagent.gamer.Parameters
Returns parameters as a hashmap
getParamIndex(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getParamInfo() - Method in class edu.stanford.multiagent.gamer.Parameters
Returns parameter information
getParamSet() - Method in class edu.stanford.multiagent.gamer.Parameters
Returns parameter set
getParserParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.CongestionGame
It is more efficient to calculate all payoffs for all players in a given outcome at once since the number of players who have chosen each facility will only have to be calculated once.
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.DispersionGame
Since the game is common payoff, it is much more efficient to get all payoffs at once.
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.Game
Collects payoffs into a vector.
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
Return a Vector with all players' utilities at the given outcome
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.MajorityVoting
Return a Vector with all players' utilities at the given outcome
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Return a Vector with all players' utilities at the given outcome
getPayoff(int[]) - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Return a Vector with all players' utilities at the given outcome
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.ArmsRace
Returns the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
Return the payoff for the given player in the given outcome using the parameterized cost and demand functions.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.CongestionGame
Return the payoff for a given player at a given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
Return the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.DispersionGame
The payoff will be the same for each player, based on how dispersed the actions are as a whole.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.Game
Returns a payoff for a given player.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.GeometricGame
Returns the payoff for the given player at the given outcome, which must first be translated into subsets of the elements which are chosen by each player.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Figures out payoff for a certain outcome by adding up a) the payoff from the matrix that is stored at the player's node if one exists b) payoffs from all of the matrices which are connected by edges to the node of a certain player, if any of those exist
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
Return the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.LocalEffectGame
Calculates the payoff for a player as the negation of the cost function for the action the player has chosen.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.LocationGame
Return the payoff for the given player at the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.MajorityVoting
Return the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.MatrixGame
Returns the payoff for a player for a given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Return the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Return the payoff for the given player in the given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.PureCoordinationMatrix
Returns the payoff for a player at a given outcome.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.TimingGame
Returns the payoff for the given player in the given outcome using the common timing game parameterized function.
getPayoff(int[], int) - Method in class edu.stanford.multiagent.gamer.ZeroSumGame
Return the payoff for the specified player at the specified outcome.
getPrintableInfo() - Method in class edu.stanford.multiagent.gamer.Parameters
Returns parameter info in a string with help
getRandomClass(int) - Static method in class edu.stanford.multiagent.gamer.Global
 
getRandomClass(int, String) - Static method in class edu.stanford.multiagent.gamer.Global
Return a random ground subclass
getRandomClassInt(int, Vector) - Static method in class edu.stanford.multiagent.gamer.Global
Return a random ground subclass from an intersection
getRangeHelp() - Method in class edu.stanford.multiagent.gamer.Game
Adds range help information to games which use the range DEFAULT_LOW through DEFAULT_HIGH.
getSizeOfDim() - Method in class edu.stanford.multiagent.gamer.DoubleTensor
 
getSizeOfDim(int) - Method in class edu.stanford.multiagent.gamer.DoubleTensor
 
getSizeOfDim(int) - Method in class edu.stanford.multiagent.gamer.LongTensor
 
getSource() - Method in class edu.stanford.multiagent.gamer.graphs.Edge
 
getStringParameter(String) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Returns the value of the parameter with the given name as a String (assuming the parameter is of type String).
getStringParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
getTwoThirdsAve(int[]) - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
Return two-thirds of the average of the amounts in outcome
getUnusedArgs() - Method in class edu.stanford.multiagent.gamer.ParamParser
Returns unused arguments
getValue(int[]) - Method in class edu.stanford.multiagent.gamer.DoubleTensor
Get the value stored at the indexed spot in the tensor
getValue(int[]) - Method in class edu.stanford.multiagent.gamer.LongTensor
Get the value stored at the indexed spot in the tensor
getValues() - Method in class edu.stanford.multiagent.gamer.DoubleTensor
Probably won't use this much, but occasionally may be useful to get all values returned in one array.
getValues() - Method in class edu.stanford.multiagent.gamer.LongTensor
Probably won't use this much, but occasionally may be useful to get all values returned in one array.
getVectorParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
Global - class edu.stanford.multiagent.gamer.Global.
A Class to hold global parameters, utilities, etc.
Global - class Global.
A Class to hold global parameters, utilities, etc.
Global() - Constructor for class edu.stanford.multiagent.gamer.Global
 
Global() - Constructor for class Global
 
globalParamInfo - Static variable in class edu.stanford.multiagent.gamer.Main
 
GrabTheDollar - class edu.stanford.multiagent.gamer.GrabTheDollar.
Return a version of the game Grab the Dollar
GrabTheDollar() - Constructor for class edu.stanford.multiagent.gamer.GrabTheDollar
 
graph - Variable in class edu.stanford.multiagent.gamer.GraphicalGame
 
graph - Variable in class edu.stanford.multiagent.gamer.LocalEffectGame
 
Graph - class edu.stanford.multiagent.gamer.graphs.Graph.
An abstract base class for graph implementations.
GRAPH - Static variable in class edu.stanford.multiagent.gamer.Global
 
Graph() - Constructor for class edu.stanford.multiagent.gamer.graphs.Graph
Constructor.
GraphicalGame - class edu.stanford.multiagent.gamer.GraphicalGame.
Abstract class implements the basic common features of graphical games.
GraphicalGame() - Constructor for class edu.stanford.multiagent.gamer.GraphicalGame
Constructor for new graphical games.
GreedyGame - class edu.stanford.multiagent.gamer.GreedyGame.
Return a version of the Greedy Game
GreedyGame() - Constructor for class edu.stanford.multiagent.gamer.GreedyGame
 
GTOutput - class edu.stanford.multiagent.gamer.GTOutput.
Outputs a game in the Gametracer .gam file format.
GTOutput() - Constructor for class edu.stanford.multiagent.gamer.GTOutput
 
GuessTwoThirdsAve - class edu.stanford.multiagent.gamer.GuessTwoThirdsAve.
Generates an instance of the game in which players try to guess two thirds of the average of the amounts chosen by other players.
GuessTwoThirdsAve() - Constructor for class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
 

H

handleError(Exception, String) - Static method in class edu.stanford.multiagent.gamer.Global
 
handleError(String) - Static method in class edu.stanford.multiagent.gamer.Global
 
hasMoreOutcomes() - Method in class edu.stanford.multiagent.gamer.Outcome
 
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
Returns true if it must be the case that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
It is always the case in complete graphs that for every edge a to b there is also an edge b to a
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns true if the graph is symmetric, i.e.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
It is always the case in N-Ary tree that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
It is always the case in N-dimensional grids that for every edge a to b there is also an edge b to a
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Returns true if it must be the case that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Returns true if it must be the case that for every edge a to b there is also an edge b to a
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
It is always the case in ring graphs that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
It is always the case in road graphs that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Returns true if it must be the case that for every edge a to b there is also an edge b to a.
hasSymEdges() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
It is always the case in star graphs that for every edge a to b there is also an edge b to a.
hasUnusedArgs() - Method in class edu.stanford.multiagent.gamer.ParamParser
Checks if all arguments are used
HawkAndDove - class edu.stanford.multiagent.gamer.HawkAndDove.
Return a version of the two player Hawk and Dove game.
HawkAndDove() - Constructor for class edu.stanford.multiagent.gamer.HawkAndDove
 
help - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
high - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 

I

IncreasingPoly - class edu.stanford.multiagent.gamer.functions.IncreasingPoly.
Class implements an increasing polynomial function of a single argument
IncreasingPoly() - Constructor for class edu.stanford.multiagent.gamer.functions.IncreasingPoly
 
IncreasingPoly(double[], double, double) - Constructor for class edu.stanford.multiagent.gamer.functions.IncreasingPoly
 
IncreasingTableFunction - class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction.
Class implements a table lookup incr.
IncreasingTableFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
initGraph() - Method in class edu.stanford.multiagent.gamer.CompoundGame
Initializes a complete graph with the number of nodes equal to the number of players in the game.
initGraph() - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Creates and initializes a graph of the correct type.
initGraph() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
Initialize a graph with the number of nodes equal to the number of players.
initGraph() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
Initialize a graph with the number of nodes equal to the number of players.
initGraph() - Method in class edu.stanford.multiagent.gamer.RandomLEG
Initialize a graph with the number of nodes equal to the number of actions.
initialize() - Method in class edu.stanford.multiagent.gamer.ArmsRace
 
initialize() - Method in class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
initialize() - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
 
initialize() - Method in class edu.stanford.multiagent.gamer.Chicken
 
initialize() - Method in class edu.stanford.multiagent.gamer.CompoundGame
Sets the number of players from the command line parameter, sets the number of actions to 2 for each player, and initializes the graph.
initialize() - Method in class edu.stanford.multiagent.gamer.CongestionGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.CoordinationGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
 
initialize() - Method in class edu.stanford.multiagent.gamer.CovariantGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.DispersionGame
Initialize the dispersion game by setting the number of players and the number of actions and creating the hashmap for storing entropy/payoff pairs.
initialize() - Method in class edu.stanford.multiagent.gamer.Game
Initializes using preset parameter values
initialize() - Method in class edu.stanford.multiagent.gamer.GrabTheDollar
 
initialize() - Method in class edu.stanford.multiagent.gamer.GreedyGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
Set the numbers of players and actions for the game, initilaize variables, and so on.
initialize() - Method in class edu.stanford.multiagent.gamer.HawkAndDove
 
initialize() - Method in class edu.stanford.multiagent.gamer.LocalEffectGame
Sets the number of players based on the command line parameter.
initialize() - Method in class edu.stanford.multiagent.gamer.LocationGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.MajorityVoting
 
initialize() - Method in class edu.stanford.multiagent.gamer.MatchingPennies
 
initialize() - Method in class edu.stanford.multiagent.gamer.MinimumEffortGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Set the numbers of players and actions for the game, initilaize variables, and so on.
initialize() - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Set the numbers of players and actions for the game, initilaize variables, and so on.
initialize() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Initializes using preset parameter values.
initialize() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
Initialize this game, the graph, and the two player games.
initialize() - Method in class edu.stanford.multiagent.gamer.PrisonersDilemma
 
initialize() - Method in class edu.stanford.multiagent.gamer.RandomCompoundGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.RandomGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.RandomLEG
Initialized the random local effect game
initialize() - Method in class edu.stanford.multiagent.gamer.RandomZeroSum
 
initialize() - Method in class edu.stanford.multiagent.gamer.RockPaperScissors
 
initialize() - Method in class edu.stanford.multiagent.gamer.ShapleysGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.TravelersDilemma
 
initialize() - Method in class edu.stanford.multiagent.gamer.TwoByTwoGame
 
initialize() - Method in class edu.stanford.multiagent.gamer.WarOfAttrition
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.ExpFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.Function
Calls initialize in the super class ParemeterizedObject which checks parameters
initialize() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingPoly
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.LogFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
 
initialize() - Method in class edu.stanford.multiagent.gamer.functions.VectorFunction
Initializes the vector function.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
Calls graph initialize
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Calls graph initialize and also set up the nodes Vector if it has not yet been set up
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Initializes the graph structure using preset parameter values.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
Calls graph initialize and also set up the nodes Vector if it has not yet been set up
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
Calls graph initialize and also sets up the nodes Vector,
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Calls graph initialize and also sets up the nodes Vector.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Calls graph initialize and also sets up the nodes Vector.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
Calls graph initialize and also sets up the nodes Vector.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
Calls graph initialize and also sets up the nodes Vector.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Calls graph initialize and also sets up the nodes Vector.
initialize() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
Initializes the graph with the correct number of nodes.
initializeFunctionArray() - Method in class edu.stanford.multiagent.gamer.CongestionGame
Create the array of functions and initialize them all with the appropriate parameters.
initMatrix() - Method in class edu.stanford.multiagent.gamer.MatrixGame
Initializes the payoff array.
initMatrix() - Method in class edu.stanford.multiagent.gamer.PureCoordinationMatrix
Initializes the payoff array assuming the numbers of players and actions have already been set.
initPayoffs(int, int) - Method in class edu.stanford.multiagent.gamer.ZeroSumGame
Create the matrix of payoffs.
initVariables(long, long, long) - Method in class edu.stanford.multiagent.gamer.GeometricGame
Initializes all variables common to geometric games.
intAndNorm(double[]) - Method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
integrate() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Integrates a polynomial and adds random constant term.
intMult - Static variable in class edu.stanford.multiagent.gamer.Game
 
intPayoffs - Static variable in class edu.stanford.multiagent.gamer.Game
 
isGround(int, String) - Static method in class edu.stanford.multiagent.gamer.Global
Check whether name corresponds to a ground classs
isKnown(int, String) - Static method in class edu.stanford.multiagent.gamer.Global
Check whether it's known
isParamSet(int) - Method in class edu.stanford.multiagent.gamer.Parameters
Check if indexed parameter is set
isParamSet(String) - Method in class edu.stanford.multiagent.gamer.Parameters
Check if parameter with the given name is set
isPartOf(int, String, String) - Static method in class edu.stanford.multiagent.gamer.Global
Check whether one class of objects is a subtype of another (i.e.

L

lgParams - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
LocalEffectGame - class edu.stanford.multiagent.gamer.LocalEffectGame.
Abstract class which can be used to implement any Local-Effect game.
LocalEffectGame() - Constructor for class edu.stanford.multiagent.gamer.LocalEffectGame
Constructor for a LEG.
LocationGame - class edu.stanford.multiagent.gamer.LocationGame.
Returns an instance of the two player location game based on Hotelling's original model.
LocationGame() - Constructor for class edu.stanford.multiagent.gamer.LocationGame
 
LogFunction - class edu.stanford.multiagent.gamer.functions.LogFunction.
Class implements a log function.
LogFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.LogFunction
 
LONG_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
LongTensor - class edu.stanford.multiagent.gamer.LongTensor.
The LongTensor class can be used to store matrices of any dimension
LongTensor(int[]) - Constructor for class edu.stanford.multiagent.gamer.LongTensor
The constructor for a LongTensor
low - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 

M

Main - class edu.stanford.multiagent.gamer.Main.
The main class called when GAMUT is run.
Main() - Constructor for class edu.stanford.multiagent.gamer.Main
 
main(String[]) - Static method in class edu.stanford.multiagent.gamer.Main
Main method for GAMUT.
main(String[]) - Static method in class edu.stanford.multiagent.gamer.Outcome
 
main(String[]) - Static method in class edu.stanford.multiagent.gamer.ParamParser
Used for debugging only
main(String[]) - Static method in class edu.stanford.multiagent.gamer.functions.ConcaveTableFunction
Just used for testing
main(String[]) - Static method in class edu.stanford.multiagent.gamer.functions.IncreasingPoly
Used only for testing
main(String[]) - Static method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
main(String[]) - Static method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Used only for testing.
main(String[]) - Static method in class edu.stanford.multiagent.gamer.functions.TableFunction
Used only for testings
main(String[]) - Static method in class DuplicateTest
 
MajorityVoting - class edu.stanford.multiagent.gamer.MajorityVoting.
Generates an instance of the Majority Voting game.
MajorityVoting() - Constructor for class edu.stanford.multiagent.gamer.MajorityVoting
 
MatchingPennies - class edu.stanford.multiagent.gamer.MatchingPennies.
Return a version of the standard Matching Pennies game.
MatchingPennies() - Constructor for class edu.stanford.multiagent.gamer.MatchingPennies
 
MatrixGame - class edu.stanford.multiagent.gamer.MatrixGame.
Class implements the straightforward normal form game.
MatrixGame() - Constructor for class edu.stanford.multiagent.gamer.MatrixGame
Constructor for a new matrix game.
MAX_ITER - Static variable in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
max(double, double) - Static method in class edu.stanford.multiagent.gamer.Global
 
max(int, int) - Static method in class edu.stanford.multiagent.gamer.Global
 
max(long, long) - Static method in class edu.stanford.multiagent.gamer.Global
 
min(double, double) - Static method in class edu.stanford.multiagent.gamer.Global
 
min(int, int) - Static method in class edu.stanford.multiagent.gamer.Global
 
min(long, long) - Static method in class edu.stanford.multiagent.gamer.Global
 
MinimumEffortGame - class edu.stanford.multiagent.gamer.MinimumEffortGame.
Return a Minimum Effort Game The MEG was coded as a TimingGame because it was very simple to add on using the TimingGame infrastructure.
MinimumEffortGame() - Constructor for class edu.stanford.multiagent.gamer.MinimumEffortGame
 

N

N_RESTARTS - Static variable in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
name - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
NAryTree - class edu.stanford.multiagent.gamer.graphs.NAryTree.
Generates an N-ary tree with a given N and a given depth.
NAryTree() - Constructor for class edu.stanford.multiagent.gamer.graphs.NAryTree
Constructor.
NChooseM(long, long) - Static method in class edu.stanford.multiagent.gamer.Global
 
ndgParam - Static variable in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
 
NDimensionalGrid - class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid.
Generates a graph on an n-dimensional grid, i.e.
NDimensionalGrid() - Constructor for class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
 
NDimensionalWrappedGrid - class edu.stanford.multiagent.gamer.graphs.NDimensionalWrappedGrid.
Generates a graph on an n-dimensional grid that wraps around at the edges, i.e.
NDimensionalWrappedGrid() - Constructor for class edu.stanford.multiagent.gamer.graphs.NDimensionalWrappedGrid
 
nEdges - Variable in class edu.stanford.multiagent.gamer.graphs.Graph
 
nextOutcome() - Method in class edu.stanford.multiagent.gamer.Outcome
In a two by two matrix game, the outcomes are looped over in the order top left, bottom left, top right, bottom right.
nNodes - Variable in class edu.stanford.multiagent.gamer.graphs.Graph
 
nodeData - Variable in class edu.stanford.multiagent.gamer.graphs.Graph
 
nodes - Variable in class edu.stanford.multiagent.gamer.graphs.ALGraph
 
NPlayerChicken - class edu.stanford.multiagent.gamer.NPlayerChicken.
Generate an instance of the N-Player Chicken game.
NPlayerChicken() - Constructor for class edu.stanford.multiagent.gamer.NPlayerChicken
 
NPlayerPrisonersDilemma - class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma.
Generate an instance of N-Player Prisoner's Dilemma game as follows.
NPlayerPrisonersDilemma() - Constructor for class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
 

O

Outcome - class edu.stanford.multiagent.gamer.Outcome.
The utility class encapsulates the notion of an outcome Action numbering starts at one
Outcome(int, int[]) - Constructor for class edu.stanford.multiagent.gamer.Outcome
 
OUTPUT - Static variable in class edu.stanford.multiagent.gamer.Global
 

P

pADist - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
ParameterizedObject - class edu.stanford.multiagent.gamer.ParameterizedObject.
Abstract class that can be extended by any class which needs to use the parameter set-up.
ParameterizedObject() - Constructor for class edu.stanford.multiagent.gamer.ParameterizedObject
The consctructor.
parameters - Variable in class edu.stanford.multiagent.gamer.ParameterizedObject
 
Parameters - class edu.stanford.multiagent.gamer.Parameters.
Class to hold parameter array objects and return parameter info.
Parameters.ParamInfo - class edu.stanford.multiagent.gamer.Parameters.ParamInfo.
Structure to hold parameter information
Parameters.ParamInfo(String, int, Object, Object, String) - Constructor for class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
Parameters.ParamInfo(String, int, Object, Object, String, boolean) - Constructor for class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
Parameters.ParamInfo(String, int, Object, Object, String, boolean, Object) - Constructor for class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
Parameters(Parameters.ParamInfo[]) - Constructor for class edu.stanford.multiagent.gamer.Parameters
The constructor
ParamParser - class edu.stanford.multiagent.gamer.ParamParser.
Class for parsing command line parameters Keeps track of bookkeeping as well
ParamParser() - Constructor for class edu.stanford.multiagent.gamer.ParamParser
 
ParamParser(String[]) - Constructor for class edu.stanford.multiagent.gamer.ParamParser
Constructor to use if the arguments are coming from the command line and are thus already parsed into an array.
params - Static variable in class edu.stanford.multiagent.gamer.Global
 
parseActions() - Method in class edu.stanford.multiagent.gamer.Game
Parses only the parameter for the number of actions, allowing either the same number for all players, or different numbers for each.
parseActions(Vector) - Static method in class Global
Convert array of strings into array of ints
parseDoubleArray(Vector) - Static method in class edu.stanford.multiagent.gamer.Global
 
parseIntArray(Vector) - Static method in class edu.stanford.multiagent.gamer.Global
Convert array of strings into array of ints
parsePlayersActions() - Method in class edu.stanford.multiagent.gamer.Game
Parses action/player parameters and sets them.
parsePlayersSameNumberActions() - Method in class edu.stanford.multiagent.gamer.Game
Parses action/player parameters and sets them.
parseSameNumberActions() - Method in class edu.stanford.multiagent.gamer.Game
Parses only the parameter for number of actions.
pBDist - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
pCost - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
pDimSize - Static variable in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
 
pfParam - Static variable in class edu.stanford.multiagent.gamer.functions.PolyFunction
 
pFunc - Static variable in class edu.stanford.multiagent.gamer.RandomLEG
 
pFuncParams - Static variable in class edu.stanford.multiagent.gamer.RandomLEG
 
pGraph - Static variable in class edu.stanford.multiagent.gamer.RandomLEG
 
pGraphParams - Static variable in class edu.stanford.multiagent.gamer.RandomLEG
 
players - Static variable in class edu.stanford.multiagent.gamer.Game
 
pLDist - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
PLODGraph - class edu.stanford.multiagent.gamer.graphs.PLODGraph.
Generetes a power-law out-degree graph using PLOD algorithm by Palmer and Steffan (Generating Network Topologies That Obey Power Laws).
PLODGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.PLODGraph
 
pLowAct - Static variable in class edu.stanford.multiagent.gamer.LocationGame
 
pMax - Static variable in class edu.stanford.multiagent.gamer.functions.TableFunction
 
pMaxPayoff - Static variable in class edu.stanford.multiagent.gamer.Game
 
pMin - Static variable in class edu.stanford.multiagent.gamer.functions.TableFunction
 
pMinPayoff - Static variable in class edu.stanford.multiagent.gamer.Game
 
pN - Static variable in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
 
pNormalize - Static variable in class edu.stanford.multiagent.gamer.Game
 
PolyFunction - class edu.stanford.multiagent.gamer.functions.PolyFunction.
Class implements a polynomial function of a single argument
PolyFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.PolyFunction
 
PolyFunction(double[], double, double) - Constructor for class edu.stanford.multiagent.gamer.functions.PolyFunction
 
PolymatrixGame - class edu.stanford.multiagent.gamer.PolymatrixGame.
Generate a Polymatrix Game with any given structure as long as the structure has been implemented as a graph class.
PolymatrixGame() - Constructor for class edu.stanford.multiagent.gamer.PolymatrixGame
 
pPoints - Static variable in class edu.stanford.multiagent.gamer.functions.TableFunction
 
pReflexEdges - Static variable in class edu.stanford.multiagent.gamer.graphs.Graph
 
PrisonersDilemma - class edu.stanford.multiagent.gamer.PrisonersDilemma.
Return an instance of the two player Prisoner's Dilemma
PrisonersDilemma() - Constructor for class edu.stanford.multiagent.gamer.PrisonersDilemma
 
pSymEdges - Static variable in class edu.stanford.multiagent.gamer.graphs.Graph
 
PureCoordinationMatrix - class edu.stanford.multiagent.gamer.PureCoordinationMatrix.
Abstract class implements a normal form game which is common payoff and therefore only requires that the payoff for each outcome be stored once.
PureCoordinationMatrix() - Constructor for class edu.stanford.multiagent.gamer.PureCoordinationMatrix
Constructor for a new pure coordination matrix game.

R

rand - Static variable in class edu.stanford.multiagent.gamer.Global
 
rand - Static variable in class Global
 
randomBoolean() - Static method in class edu.stanford.multiagent.gamer.Global
 
RandomCompoundGame - class edu.stanford.multiagent.gamer.RandomCompoundGame.
Return a compound game based on a randomly generated symmetric 2x2 matrix.
RandomCompoundGame() - Constructor for class edu.stanford.multiagent.gamer.RandomCompoundGame
 
randomDouble() - Static method in class edu.stanford.multiagent.gamer.Global
 
randomDouble(double, double) - Static method in class edu.stanford.multiagent.gamer.Global
 
RandomGame - class edu.stanford.multiagent.gamer.RandomGame.
Return a uniformly random game
RandomGame() - Constructor for class edu.stanford.multiagent.gamer.RandomGame
Construct a new game
RandomGraph - class edu.stanford.multiagent.gamer.graphs.RandomGraph.
Generates a random graph with the specified number of nodes and edges.
RandomGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.RandomGraph
 
RandomGraphicalGame - class edu.stanford.multiagent.gamer.RandomGraphicalGame.
Generate a Graphical Game with any given structure as long as the structure has been implemented as a graph class.
RandomGraphicalGame() - Constructor for class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
randomInt(int, int) - Static method in class edu.stanford.multiagent.gamer.Global
 
randomizeParameter(int) - Method in class edu.stanford.multiagent.gamer.Parameters
Randomize a single parameter based on its range.
randomizeParameter(String) - Method in class edu.stanford.multiagent.gamer.Parameters
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.ArmsRace
Randomize the low and high actions and functions
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.BattleOfTheSexes
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.Chicken
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.CongestionGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.CoordinationGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.CovariantGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.DispersionGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.GrabTheDollar
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.GreedyGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.GuessTwoThirdsAve
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.HawkAndDove
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.LocationGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.MajorityVoting
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.MatchingPennies
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.MinimumEffortGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.NPlayerChicken
Randomize the parameters which were not filled in by the user.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.NPlayerPrisonersDilemma
Randomize parameters that were not set by the user
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Sets values of any unset parameters randomly.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.Parameters
Sets parameters uniformly at random.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
Randomize parameters that were not set by the user
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.PrisonersDilemma
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.RandomCompoundGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.RandomLEG
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.RandomZeroSum
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.RockPaperScissors
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.ShapleysGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.SimpleInspectionGame
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.TravelersDilemma
 
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.TwoByTwoGame
Randomizes type
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.WarOfAttrition
Randomize the parameters which were not filled in by the user.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
Randomize things
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.functions.IncreasingPoly
Randomize things This is not the most efficient algorithm.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.functions.PolyFunction
Randomize things
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.functions.TableFunction
Randomizes things
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Resets the range of the number of nodes and randomize
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
Reset the range of the number of nodes and randomize
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
Resets the range of all parameters so that random graph will not be too large to work with most games, then randomize.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Resets the range of the number of nodes and randomizes.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Resets range of parameters and randomizes.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
Resets the range of the number of nodes and randomize
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
Resets the range of the number of nodes and randomize.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Resets parameter ranges and randomize.
randomizeParameters() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
Resets the range of the number of nodes and randomize.
RandomLEG - class edu.stanford.multiagent.gamer.RandomLEG.
Generate a Local Effect Game with a given graphical structure and a given function.
RandomLEG() - Constructor for class edu.stanford.multiagent.gamer.RandomLEG
 
randomLong(long, long) - Static method in class edu.stanford.multiagent.gamer.Global
 
randomLong(long, long) - Static method in class Global
 
RandomZeroSum - class edu.stanford.multiagent.gamer.RandomZeroSum.
Create a random version of a two-player zero-sum game.
RandomZeroSum() - Constructor for class edu.stanford.multiagent.gamer.RandomZeroSum
 
randSeed - Static variable in class edu.stanford.multiagent.gamer.Global
 
randSeed - Static variable in class Global
 
recGenerate(int, int, double, double) - Method in class edu.stanford.multiagent.gamer.functions.IncreasingTableFunction
 
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.BAGraph
Returns true if reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.CompleteGraph
Return true if reflexive edges are allowed
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Returns true if reflexive edges are allowed in the graph.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.NAryTree
It is never the case in N-ary trees that reflexive edges are allowed
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
It is never the case in N-dimensional grids that reflexive edges are allowed
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.PLODGraph
Returns true if reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.RandomGraph
Returns true if reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.RingGraph
It is never the case in ring graphs that reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.RoadGraph
It is never the case in road graphs that reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
Returns true if reflexive edges are allowed.
reflexEdgesOk() - Method in class edu.stanford.multiagent.gamer.graphs.StarGraph
It is never the case in star graphs that reflexive edges are allowed
registerParams(Class, Parameters.ParamInfo[]) - Static method in class edu.stanford.multiagent.gamer.Global
Function must be called by every class to register its parameters
removeEdge(Edge) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Removes an edge from the graph.
removeEdge(Edge) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
 
removeEdge(Edge) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Removes an edge from the graph.
removeEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Removes an edge from the graph.
removeEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Removes an edge
removeEdge(int, int) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Removes an edge from the graph.
removeLargest() - Method in class edu.stanford.multiagent.gamer.SortedAndRandomSet
Removes the largest element in the list.
removeLargest() - Method in class SortedAndRandomSet
 
removeRandom() - Method in class edu.stanford.multiagent.gamer.SortedAndRandomSet
Removes a random element from the list.
removeRandom() - Method in class SortedAndRandomSet
 
removeSmallest() - Method in class edu.stanford.multiagent.gamer.SortedAndRandomSet
Removes the smallest element in the list
removeSmallest() - Method in class SortedAndRandomSet
 
required - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
reset() - Method in class edu.stanford.multiagent.gamer.Outcome
 
reset(int[]) - Method in class edu.stanford.multiagent.gamer.Outcome
 
RingGraph - class edu.stanford.multiagent.gamer.graphs.RingGraph.
Generates a ring structured graph with the specified number of nodes.
RingGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.RingGraph
Constructor
rlegParam - Static variable in class edu.stanford.multiagent.gamer.RandomLEG
 
RoadGraph - class edu.stanford.multiagent.gamer.graphs.RoadGraph.
Generates a road graph with the specified number of nodes.
RoadGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.RoadGraph
Constructor
RockPaperScissors - class edu.stanford.multiagent.gamer.RockPaperScissors.
Return an instance of Rock, Paper, Scissors
RockPaperScissors() - Constructor for class edu.stanford.multiagent.gamer.RockPaperScissors
 

S

SEP - Static variable in class edu.stanford.multiagent.gamer.DoubleOutput
 
setAdditional(double) - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Sets the extra amount to be added to the payoff.
setByUser(String) - Method in class edu.stanford.multiagent.gamer.Parameters
Return true if the parameter was set by the user and false otherwise
setData(Object) - Method in class edu.stanford.multiagent.gamer.graphs.Edge
 
setDescription(String) - Method in class edu.stanford.multiagent.gamer.Game
Sets the description string for the game which will be output as part of the help string.
setDomain(double, double) - Method in class edu.stanford.multiagent.gamer.functions.Function
Sets the domain range.
setEdgeData(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.ALGraph
Sets the data item for a preexisting edge.
setEdgeData(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.AMGraph
Sets the data item for the edge between s and t if this edge already exists
setEdgeData(int, int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Sets the edge data for an already existing edge.
setFromParams(Parameters) - Method in class edu.stanford.multiagent.gamer.Parameters
Parses parameters and checks to make sure the required ones are there
setFromParser(ParamParser) - Method in class edu.stanford.multiagent.gamer.Parameters
Parses parameters and checks to make sure the required ones are there
setMultLowTime(double) - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Sets the multiplier for the lowest time of all players.
setMultYourTime(double) - Method in class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Sets the multiplier for a player's own time.
setName(String) - Method in class edu.stanford.multiagent.gamer.Game
Sets the name of the game.
setNodeData(int, Object) - Method in class edu.stanford.multiagent.gamer.graphs.Graph
Sets node data.
setNodeMatrix(int, DoubleTensor) - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Sets the matrix for the player's node if using the version of the graphical game representation in which the payoffs are stored in matrices at the nodes (as opposed to only on edges).
setNormMinAndMax() - Method in class edu.stanford.multiagent.gamer.Game
Collects all payoffs (one at a time) and figures out the min and max.
setNumActions(int) - Method in class edu.stanford.multiagent.gamer.Game
Sets same number of actions for each player.
setNumActions(int[]) - Method in class edu.stanford.multiagent.gamer.Game
Sets the number of actions for each player when each player may have a different number of actions.
setNumPlayers(int) - Method in class edu.stanford.multiagent.gamer.Game
Sets the number of players in the game.
setParameter(int, Object) - Method in class edu.stanford.multiagent.gamer.Parameters
 
setParameter(int, Object, boolean) - Method in class edu.stanford.multiagent.gamer.Parameters
 
setParameter(String, Object) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Sets the value of a parameter.
setParameter(String, Object) - Method in class edu.stanford.multiagent.gamer.Parameters
 
setParameter(String, Object, boolean) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Sets the value of a parameter.
setParameter(String, Object, boolean) - Method in class edu.stanford.multiagent.gamer.Parameters
 
setParameters(Object[]) - Method in class edu.stanford.multiagent.gamer.Parameters
 
setParameters(Parameters) - Method in class edu.stanford.multiagent.gamer.ParamParser
Fills in hashmap with parameter values
setParameters(Parameters, boolean) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Sets multiple parameters at once using a Parameters variable.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.ArmsRace
Set the parameters for the game itself, and parse and set the parameters for the C and B functions.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.BertrandOligopoly
Sets the parameters for the game itself, and parse and set the parameters for the cost and demand functions and set those respectively.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.CongestionGame
Set the parameters for the game itself.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.CournotDuopoly
Set the parameters for the game itself, and parse and set the parameters for the cost and inverse demand functions.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.DispersionGame
 
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.ParameterizedObject
Sets multiple parameters at once using a ParamParser.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.PolymatrixGame
 
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.RandomGraphicalGame
 
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.RandomLEG
Set parameters for the LEG.
setParameters(ParamParser, boolean) - Method in class edu.stanford.multiagent.gamer.functions.DecreasingWrapper
 
setParamsNoTies(TimingGame.TimingGameParams[], TimingGame.TimingGameParams[]) - Method in class edu.stanford.multiagent.gamer.TimingGame
Set the parameters for the payoff functions for the case when the player has the lowest time and for when the player does not.
setParamsWithTie(TimingGame.TimingGameParams[], TimingGame.TimingGameParams[], TimingGame.TimingGameParams[]) - Method in class edu.stanford.multiagent.gamer.TimingGame
Sets the parameters for the payoff functions for the case when the player has the lowest time, the case when the player is tied, and the case when the player does not have the lowest time.
setPayoff(int[], double) - Method in class edu.stanford.multiagent.gamer.PureCoordinationMatrix
Sets the payoff for all players for a given outcome.
setPayoff(int[], double) - Method in class edu.stanford.multiagent.gamer.ZeroSumGame
Set the payoff for the first player at the given outcome.
setPayoff(int[], int, double) - Method in class edu.stanford.multiagent.gamer.MatrixGame
Sets the payoff for a player for a given outcome.
setValue(double, int[]) - Method in class edu.stanford.multiagent.gamer.DoubleTensor
Set the value stored at the indexed spot in the tensor
setValue(long, int[]) - Method in class edu.stanford.multiagent.gamer.LongTensor
Set the value stored at the indexed spot in the tensor
ShapleysGame - class edu.stanford.multiagent.gamer.ShapleysGame.
Return a version of Shapley's Game which is a variation on the standard Rock, Paper, Scissors.
ShapleysGame() - Constructor for class edu.stanford.multiagent.gamer.ShapleysGame
 
SimpleInspectionGame - class edu.stanford.multiagent.gamer.SimpleInspectionGame.
Return an instance of the Simple Inspection game
SimpleInspectionGame() - Constructor for class edu.stanford.multiagent.gamer.SimpleInspectionGame
 
SimpleOutput - class edu.stanford.multiagent.gamer.SimpleOutput.
A very simple outputter, mostly for development purposes.
SimpleOutput() - Constructor for class edu.stanford.multiagent.gamer.SimpleOutput
 
SmallWorldGraph - class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph.
Generates a random graph using the Watts-Strogatz model Nature 1998.
SmallWorldGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.SmallWorldGraph
 
SortedAndRandomSet - class edu.stanford.multiagent.gamer.SortedAndRandomSet.
Utility class holding a list of objects that can be returned either by size (largest or smallest) or randomly from the remaining elements in the list
SortedAndRandomSet - class SortedAndRandomSet.
 
SortedAndRandomSet() - Constructor for class edu.stanford.multiagent.gamer.SortedAndRandomSet
 
SortedAndRandomSet() - Constructor for class SortedAndRandomSet
 
SpecialOutput - class edu.stanford.multiagent.gamer.SpecialOutput.
This outputter uses game own output function
SpecialOutput() - Constructor for class edu.stanford.multiagent.gamer.SpecialOutput
 
StarGraph - class edu.stanford.multiagent.gamer.graphs.StarGraph.
Generates a star graph with n nodes total.
StarGraph() - Constructor for class edu.stanford.multiagent.gamer.graphs.StarGraph
 
STRING_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
symActions - Static variable in class edu.stanford.multiagent.gamer.Game
 

T

table - Variable in class edu.stanford.multiagent.gamer.functions.TableFunction
 
TableFunction - class edu.stanford.multiagent.gamer.functions.TableFunction.
Class implements a table lookup function for truly random table functions.
TableFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.TableFunction
 
tfParam - Static variable in class edu.stanford.multiagent.gamer.functions.TableFunction
 
TimingGame - class edu.stanford.multiagent.gamer.TimingGame.
Abstract class implements common features among timing games.
TimingGame.TimingGameParams - class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams.
TimingGameParams is a simple helper class used to store all of the parameters for the Timing Game function for one particular player.
TimingGame.TimingGameParams(double, double, double) - Constructor for class edu.stanford.multiagent.gamer.TimingGame.TimingGameParams
Constructor for TimingGameParams objects.
TimingGame() - Constructor for class edu.stanford.multiagent.gamer.TimingGame
Constructor for a new timing game.
toString() - Method in class edu.stanford.multiagent.gamer.Outcome
 
toString() - Method in class edu.stanford.multiagent.gamer.ParamParser
Converts to String
translateIndices(int[], long, int) - Method in class edu.stanford.multiagent.gamer.graphs.NDimensionalGrid
Translate an array of indices into a single integer index of a Vector.
TravelersDilemma - class edu.stanford.multiagent.gamer.TravelersDilemma.
Return an instance of the game Traveler's Dilemma
TravelersDilemma() - Constructor for class edu.stanford.multiagent.gamer.TravelersDilemma
 
TwoByTwoGame - class edu.stanford.multiagent.gamer.TwoByTwoGame.
Return a 2x2 game of a given type from Rapoport's distribution.
TwoByTwoGame() - Constructor for class edu.stanford.multiagent.gamer.TwoByTwoGame
Construct a new game
TwoPlayerOutput - class edu.stanford.multiagent.gamer.TwoPlayerOutput.
A very simple outputter, for two player games
TwoPlayerOutput() - Constructor for class edu.stanford.multiagent.gamer.TwoPlayerOutput
 
type - Variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 

U

UniformLEG - class edu.stanford.multiagent.gamer.UniformLEG.
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.
UniformLEG() - Constructor for class edu.stanford.multiagent.gamer.UniformLEG
 

V

VECTOR_PARAM - Static variable in class edu.stanford.multiagent.gamer.Parameters.ParamInfo
 
VectorFunction - class edu.stanford.multiagent.gamer.functions.VectorFunction.
An abstract class to support functions on vectors of values.
VectorFunction() - Constructor for class edu.stanford.multiagent.gamer.functions.VectorFunction
Constructor for a vector function.
VERSION_STRING - Static variable in class edu.stanford.multiagent.gamer.Global
 

W

WarOfAttrition - class edu.stanford.multiagent.gamer.WarOfAttrition.
Return an instance of the game War of Attrition
WarOfAttrition() - Constructor for class edu.stanford.multiagent.gamer.WarOfAttrition
 
wrap(String, int) - Static method in class edu.stanford.multiagent.gamer.Global
 
writeGame(PrintWriter) - Method in class edu.stanford.multiagent.gamer.Game
Writes output in the format specific to this game.
writeGame(PrintWriter) - Method in class edu.stanford.multiagent.gamer.GraphicalGame
Writes output as a graphical game.
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.DoubleOutput
 
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.GambitOutput
 
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.GameOutput
Writes the game to the specified PrintWriter.
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.GTOutput
 
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.SimpleOutput
 
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.SpecialOutput
 
writeGame(PrintWriter, Game) - Method in class edu.stanford.multiagent.gamer.TwoPlayerOutput
 

Z

ZeroSumGame - class edu.stanford.multiagent.gamer.ZeroSumGame.
Abstract class used for representing a two-player zero-sum game.
ZeroSumGame() - Constructor for class edu.stanford.multiagent.gamer.ZeroSumGame
Constructor for two-player zero-sum games.

A B C D E F G H I L M N O P R S T U V W Z