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

A

actionPerformed(ActionEvent) - Method in class ipdlx.gui.GameMatrixPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.GameSettingsPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.InfoPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.PlayerPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.ResultsPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.StrategyPanel
 
actionPerformed(ActionEvent) - Method in class ipdlx.gui.TournamentRunPanel
 
addGameListener(GameListener) - Method in class ipdlx.Game
 
addPayoff(int, double) - Method in class ipdlx.GameResult
 
addPayoff(double, double) - Method in class ipdlx.StandardGameResult
 
addPlayer(Player) - Method in class ipdlx.Game
Adds a player to this game instance.
addPlayer(Player) - Method in class ipdlx.Tournament
 
addPlayers(Vector) - Method in class ipdlx.Game
Adds an array of players to this game instance.
addPlayers(Vector) - Method in class ipdlx.Tournament
 
addTournamentListener(TournamentListener) - Method in class ipdlx.Tournament
 
ALLC - Class in ipdlx.strategy
Always defect strategy
ALLC() - Constructor for class ipdlx.strategy.ALLC
 
ALLC(String, String, String) - Constructor for class ipdlx.strategy.ALLC
 
ALLD - Class in ipdlx.strategy
Always defect strategy
ALLD() - Constructor for class ipdlx.strategy.ALLD
 
ALLD(String, String, String) - Constructor for class ipdlx.strategy.ALLD
 
appendText(String) - Method in class ipdlx.gui.InfoPanel
 
autoClear - Variable in class ipdlx.gui.InfoPanel
 

B

baseDir - Static variable in class ipdlx.tools.TournamentTools
 
BorderedPanel - Class in ipdlx.gui
 
BorderedPanel(String) - Constructor for class ipdlx.gui.BorderedPanel
 
BorderedPanel(String, Color) - Constructor for class ipdlx.gui.BorderedPanel
 
broadcastGameStart(Game) - Method in class ipdlx.Game
 
broadcastResult - Variable in class ipdlx.Game
 
broadcastResults(GameResult) - Method in class ipdlx.Game
 
broadcastRoundResults - Variable in class ipdlx.Game
 
broadcastRoundResults(GameRoundResult) - Method in class ipdlx.Game
 
broadcastStart() - Method in class ipdlx.Tournament
 

C

checkValues(double[][]) - Method in class ipdlx.GameMatrix
 
clear() - Method in class ipdlx.gui.TournamentRunPanel
 
clearAllResults() - Method in class ipdlx.Tournament
 
clearMemory() - Method in class ipdlx.Player
clears the memory of the player - sets his strategy to the initial state
clearResult() - Method in class ipdlx.Player
 
clone() - Method in class ipdlx.Strategy
returns full name of the strategy
clone() - Method in class ipdlx.strategy.Historical
 
closeFileOutput() - Method in class ipdlx.gui.InfoPanel
 
construct(String, String) - Method in class ipdlx.strategy.Historical
 
COOPERATE - Static variable in interface ipdlx.PDValues
constant value for COOPERATE move
copyStrategy(Strategy) - Static method in class ipdlx.Tournament
 
createHistoricalHumanPlayer(Properties) - Static method in class ipdlx.tools.TournamentTools
 
createHumanPlayer(Properties) - Static method in class ipdlx.tools.TournamentTools
 
createHumanPlayers(String) - Static method in class ipdlx.tools.TournamentTools
 
createHumanPlayers(File) - Static method in class ipdlx.tools.TournamentTools
 
createPanelFromMatrix(double[][]) - Method in class ipdlx.gui.GameMatrixPanel
 
createPlayers() - Method in class ipdlx.examples.MultiPlayerTestTournament
 
createPlayers() - Method in class ipdlx.examples.TestTournament
 
createPlayers() - Method in class ipdlx.examples.TournamentExample
 
createPlayers(Class, int) - Static method in class ipdlx.Tournament
Utility method for creating players
createPlayers(Strategy, int) - Static method in class ipdlx.Tournament
Utility method for creating players
createPlayers(String, Strategy, int) - Static method in class ipdlx.Tournament
Utility method for creating players
createPlayers(String, Class, int) - Static method in class ipdlx.Tournament
Utility method for creating players
createStatistics() - Method in class ipdlx.GameResultLog
creates statistics based on game log
createTournament() - Method in class ipdlx.examples.TournamentExample
 

D

DEFAULT_MISTAKE_LEVEL - Static variable in interface ipdlx.PDValues
default value for probability of mistake level
DEFAULT_PUNISHMENT - Static variable in interface ipdlx.PDValues
default value for punishment
DEFAULT_REWARD - Static variable in interface ipdlx.PDValues
default value for reward
DEFAULT_STRATEGIES - Static variable in class ipdlx.gui.StrategyPanel
 
DEFAULT_SUCKER - Static variable in interface ipdlx.PDValues
default value for sucker's payoff
DEFAULT_TEMPTATION - Static variable in interface ipdlx.PDValues
default value for temptation to defect
defaultPayoffMatrix2x2 - Static variable in class ipdlx.GameMatrix
 
defaultPayoffMatrix5x5 - Static variable in class ipdlx.GameMatrix
 
DEFECT - Static variable in interface ipdlx.PDValues
constant value for DEFECT move
docToFile(Document, String) - Static method in class ipdlx.tools.TournamentTools
 
docToString(Document) - Static method in class ipdlx.tools.TournamentTools
 
doTheTest() - Method in class ipdlx.examples.GameResultExample
 
doTheTest() - Method in class ipdlx.examples.TournamentExample
 

E

editFieldXML(String, String, String, String) - Static method in class ipdlx.tools.TournamentTools
 
EXIT - Static variable in interface ipdlx.PDValues
constant value for EXIT move not used yet, but if you want to give your strategies an 'exit' option you can use this value to indicate this

F

FileClassLoader - Class in ipdlx.tools
Loads class bytes from a file (probably inherited from elsewhere).
FileClassLoader(String) - Constructor for class ipdlx.tools.FileClassLoader
Attempts to load from a local file using the relative "filePrefix", ie starting at the current directory.
fileToJarURL(File, String) - Static method in class ipdlx.tools.PDFileHandler
 
filterMove(double) - Method in class ipdlx.Game
Returns a possibly modified move from another.
fireChange() - Method in class ipdlx.gui.TournamentMonitor
 
fixFileName(String, File) - Static method in class ipdlx.tools.TournamentTools
 
formatClassName(String) - Method in class ipdlx.tools.MultiClassLoader
 

G

Game - Class in ipdlx
Base class for all games
Game(Game) - Constructor for class ipdlx.Game
Constructs a new game with the same game parameters as the given one.
Game(int, GameMatrix) - Constructor for class ipdlx.Game
constructor
Game(int, GameMatrix, float) - Constructor for class ipdlx.Game
constructor
GameListener - Interface in ipdlx
 
gameListeners - Variable in class ipdlx.Game
 
gameMatrix - Variable in class ipdlx.Game
payoff matrix of the game
GameMatrix - Class in ipdlx
 
GameMatrix() - Constructor for class ipdlx.GameMatrix
 
GameMatrix(double[][]) - Constructor for class ipdlx.GameMatrix
 
GameMatrixPanel - Class in ipdlx.gui
 
GameMatrixPanel(Tournament) - Constructor for class ipdlx.gui.GameMatrixPanel
 
gameResult - Variable in class ipdlx.Game
info about the result of this game
GameResult - Class in ipdlx
Results of the game how many points each player won
GameResult(int) - Constructor for class ipdlx.GameResult
constructor
GameResult(Vector, int) - Constructor for class ipdlx.GameResult
constructor
GameResult(Player[], int) - Constructor for class ipdlx.GameResult
constructor
GameResultExample - Class in ipdlx.examples
This example shows how to create a game, how to play it, and how to get information about the result
GameResultExample() - Constructor for class ipdlx.examples.GameResultExample
 
GameResultLog - Class in ipdlx
Log of the game.
GameResultLog(int, String[]) - Constructor for class ipdlx.GameResultLog
constructor.
gameResultPosted(GameResult) - Method in class ipdlx.examples.GameResultExample
 
gameResultPosted(GameResult) - Method in class ipdlx.examples.TournamentExample
 
gameResultPosted(GameResult) - Method in interface ipdlx.GameListener
 
gameResultPosted(GameResult) - Method in class ipdlx.gui.InfoPanel
 
gameResultPosted(GameResult) - Method in class ipdlx.gui.TournamentRunPanel
 
GameRoundResult - Class in ipdlx
Results of the game how many points each player won
GameRoundResult(int, Strategy, double, double, Strategy, double, double) - Constructor for class ipdlx.GameRoundResult
 
gameRoundResultPosted(GameRoundResult) - Method in class ipdlx.examples.GameResultExample
 
gameRoundResultPosted(GameRoundResult) - Method in class ipdlx.examples.TournamentExample
 
gameRoundResultPosted(GameRoundResult) - Method in interface ipdlx.GameListener
 
gameRoundResultPosted(GameRoundResult) - Method in class ipdlx.gui.InfoPanel
 
gameRoundResultPosted(GameRoundResult) - Method in class ipdlx.gui.TournamentRunPanel
 
GameSettingsPanel - Class in ipdlx.gui
 
GameSettingsPanel(Tournament) - Constructor for class ipdlx.gui.GameSettingsPanel
 
gamesLost - Variable in class ipdlx.Player
 
gamesPlayed - Variable in class ipdlx.Player
 
gameStarted(Game) - Method in class ipdlx.examples.GameResultExample
 
gameStarted(Game) - Method in class ipdlx.examples.TournamentExample
 
gameStarted(Game) - Method in interface ipdlx.GameListener
 
gameStarted(Game) - Method in class ipdlx.gui.InfoPanel
 
gameStarted(Game) - Method in class ipdlx.gui.TournamentRunPanel
 
gamesTied - Variable in class ipdlx.Player
 
gamesWon - Variable in class ipdlx.Player
 
gameType - Variable in class ipdlx.Tournament
 
gameTypeToString(int) - Static method in class ipdlx.Tournament
 
gaussianDouble() - Static method in class ipdlx.tools.RandomGenerator
 
gaussianDouble(float) - Static method in class ipdlx.tools.RandomGenerator
Generates a random double from a Gaussian distribution with the specified deviation.
gaussianRandom(double, float) - Static method in class ipdlx.tools.RandomGenerator
 
getAbbrName() - Method in class ipdlx.Strategy
returns strategy abbreviated name
getBroadcastResult() - Method in class ipdlx.Game
 
getBroadcastRoundResults() - Method in class ipdlx.Game
 
getCoCoNumber() - Method in class ipdlx.GameResultLog
 
getCoCoPercent() - Method in class ipdlx.GameResultLog
 
getCoDeNumber() - Method in class ipdlx.GameResultLog
 
getCoDePercent() - Method in class ipdlx.GameResultLog
 
getDeDeNumber() - Method in class ipdlx.GameResultLog
 
getDeDePercent() - Method in class ipdlx.GameResultLog
 
getDescription() - Method in class ipdlx.Strategy
returns strategy description
getFinalMove(double) - Method in class ipdlx.Strategy
Deprecated. This used to implement noise, but is now implemeneted in the Game class.
getFullName() - Method in class ipdlx.Strategy
 
getGame() - Method in class ipdlx.Tournament
 
getGameListeners() - Method in class ipdlx.Game
 
getGameMatrix() - Method in class ipdlx.Game
Returns the game matrix.
getGameType() - Method in class ipdlx.Tournament
 
getLog() - Method in class ipdlx.GameResult
returns game log (for both players)
getLog() - Method in class ipdlx.GameResultLog
returns game log (for both players)
getLogPlayer(int) - Method in class ipdlx.GameResultLog
returns game log for one player
getMatrix() - Method in class ipdlx.PlayerMatrix
 
getMatrixFromPanel() - Method in class ipdlx.gui.GameMatrixPanel
 
getMove() - Method in class ipdlx.Player
returns move
getMove() - Method in class ipdlx.strategy.ALLC
always returns COOPERATE
getMove() - Method in class ipdlx.strategy.ALLD
always returns DEFECT
getMove() - Method in class ipdlx.Strategy
returns move
getMove() - Method in class ipdlx.strategy.GRIM
 
getMove() - Method in class ipdlx.strategy.Historical
 
getMove() - Method in class ipdlx.strategy.MRAND
doesn't need to call super.getFinalMove - it's random already
getMove() - Method in class ipdlx.strategy.NEG
 
getMove() - Method in class ipdlx.strategy.Pavlov
 
getMove() - Method in class ipdlx.strategy.RAND
doesn't need to call super.getFinalMove - it's random already
getMove() - Method in class ipdlx.strategy.STFT
 
getMove() - Method in class ipdlx.strategy.TFT
 
getMove() - Method in class ipdlx.strategy.TFTT
 
getName() - Method in class ipdlx.Player
Returns the player name.
getName() - Method in class ipdlx.Strategy
returns strategy name
getNbOfRounds() - Method in class ipdlx.GameResultLog
returns number of rounds in this game
getNrOfGames() - Method in class ipdlx.Tournament
 
getNrPlayers() - Method in class ipdlx.Tournament
 
getNrRoundsStDev() - Method in class ipdlx.Game
Returns the standard deviation set for the number of rounds to play.
getNumberOfOpponents() - Method in class ipdlx.Strategy
 
getNumberOfRounds(boolean) - Method in class ipdlx.Game
Returns the current number of rounds.
getNumberOfRounds() - Method in class ipdlx.Game
Returns the currently set number of rounds.
getNumberOfRoundsStDev() - Method in class ipdlx.Game
Returns a deviation of the current number of rounds and current standard deviation setting.
getOpponentMove() - Method in class ipdlx.Strategy
 
getOpponentsMoves() - Method in class ipdlx.Strategy
 
getPayoff(double, double, int) - Method in class ipdlx.GameMatrix
 
getPayoff(double, double) - Method in class ipdlx.GameMatrix
 
getPayoffIndex(double, double) - Method in class ipdlx.GameMatrix
 
getPayoffMatrix() - Method in class ipdlx.GameMatrix
 
getPayoffPlayer(int) - Method in class ipdlx.GameResult
returns number of points won by selected player during this game
getPayoffs() - Method in class ipdlx.GameResult
returns number of points won by each player during this game
getPlayer(int) - Method in class ipdlx.GameResult
 
getPlayerA() - Method in class ipdlx.StandardGame
 
getPlayerA() - Method in class ipdlx.StandardGameResult
 
getPlayerB() - Method in class ipdlx.StandardGame
 
getPlayerB() - Method in class ipdlx.StandardGameResult
 
getPlayerProperties() - Method in class ipdlx.gui.HumanPlayer
 
getPlayers() - Method in class ipdlx.Tournament
 
getPlayers() - Method in class ipdlx.TournamentResult
 
getProbabilityOfMistake() - Method in class ipdlx.Game
Returns the probability of mistake setting for all moves in the current game state.
getResult() - Method in class ipdlx.Player
returns result
getResult() - Method in class ipdlx.Strategy
returns strategy result
getStrategy() - Method in class ipdlx.Player
 
getStrategy(boolean) - Method in class ipdlx.Player
 
getStrategy(String) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyClass(String) - Static method in class ipdlx.Tournament
 
getStrategyClassFromJarFile(JarFile, String) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyClassFromManifest(JarFile) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyClassFromName(JarFile, String) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyClassSingleEntry(JarFile) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyFromJarFile(File, String) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyFromJarFile(JarFile, String) - Method in class ipdlx.tools.PDFileHandler
 
getStrategyMove(Strategy) - Method in class ipdlx.Game
Returns the move from a given strategy.
getStrategyMove(Strategy, boolean) - Method in class ipdlx.Game
Returns the move from a given strategy.
getSuccess() - Method in class ipdlx.strategy.Pavlov
 
getTotalTournamentTime() - Method in class ipdlx.TournamentResult
 
getTournamentDate() - Method in class ipdlx.TournamentResult
 
getTournamentGameType() - Method in class ipdlx.TournamentResult
 
GRIM - Class in ipdlx.strategy
Grim Trigger strategy
GRIM() - Constructor for class ipdlx.strategy.GRIM
 
GRIM(String, String, String) - Constructor for class ipdlx.strategy.GRIM
 
GUITournamentExample - Class in ipdlx.examples
 
GUITournamentExample() - Constructor for class ipdlx.examples.GUITournamentExample
 

H

Historical - Class in ipdlx.strategy
Historical strategy
Historical(int, String, String) - Constructor for class ipdlx.strategy.Historical
 
Historical(String, String, String, int, String, String) - Constructor for class ipdlx.strategy.Historical
 
HR - Static variable in class ipdlx.examples.GameResultExample
 
HTMLGenerator - Class in ipdlx.tools
 
HTMLGenerator() - Constructor for class ipdlx.tools.HTMLGenerator
 
HumanPlayer - Class in ipdlx.gui
base class for all human players
HumanPlayer(Properties, Strategy) - Constructor for class ipdlx.gui.HumanPlayer
 

I

InfoPanel - Class in ipdlx.gui
 
InfoPanel(Tournament) - Constructor for class ipdlx.gui.InfoPanel
 
ipdlx - package ipdlx
 
ipdlx.examples - package ipdlx.examples
 
ipdlx.gui - package ipdlx.gui
 
ipdlx.strategy - package ipdlx.strategy
 
ipdlx.tools - package ipdlx.tools
 

L

lastResult - Variable in class ipdlx.Strategy
info about last game's result.
loadClass(String) - Method in class ipdlx.tools.MultiClassLoader
This is a simple version for external clients since they will always want the class resolved before it is returned to them.
loadClass(String, boolean) - Method in class ipdlx.tools.MultiClassLoader
 
loadClassBytes(String) - Method in class ipdlx.tools.FileClassLoader
 
loadClassBytes(String) - Method in class ipdlx.tools.MultiClassLoader
 
loadStrategy(Class) - Static method in class ipdlx.Tournament
 
loadStrategy(String) - Static method in class ipdlx.Tournament
 

M

main(String[]) - Static method in class ipdlx.examples.GameResultExample
 
main(String[]) - Static method in class ipdlx.examples.GUITournamentExample
 
main(String[]) - Static method in class ipdlx.examples.TournamentExample
 
main(String[]) - Static method in class ipdlx.GameMatrix
 
main(String[]) - Static method in class ipdlx.strategy.Historical
 
main(String[]) - Static method in class ipdlx.tools.RandomGenerator
 
main(String[]) - Static method in class ipdlx.tools.TournamentTools
 
makeTextColumn(String, int) - Static method in class ipdlx.TournamentResult
 
matrix - Variable in class ipdlx.PlayerMatrix
2x2 matrix of payoffs for one player
matrixChoices - Static variable in class ipdlx.gui.GameMatrixPanel
 
monitor(String) - Method in class ipdlx.tools.MultiClassLoader
 
monitorOn - Variable in class ipdlx.tools.MultiClassLoader
 
moves - Static variable in interface ipdlx.PDValues
names of available moves - cooperation, defection and exit the third move - exit - will be used in games during which players can decide when to stop playing
moveTimeLimit - Variable in class ipdlx.Game
 
MRAND - Class in ipdlx.strategy
Random strategy
MRAND() - Constructor for class ipdlx.strategy.MRAND
 
MULTICHOICE_DEFAULT_STRATEGIES - Static variable in class ipdlx.gui.StrategyPanel
 
MultiClassLoader - Class in ipdlx.tools
A simple test class loader capable of loading from multiple sources, such as local files or a URL (probably inherited from elsewhere).
MultiClassLoader() - Constructor for class ipdlx.tools.MultiClassLoader
 
MULTIPLAYER_GAME - Static variable in class ipdlx.Tournament
 
MultiPlayerGame - Class in ipdlx
A multiplayer game.
MultiPlayerGame(Game) - Constructor for class ipdlx.MultiPlayerGame
Constructs a new game with the same game parameters as the given one.
MultiPlayerGame(int, GameMatrix) - Constructor for class ipdlx.MultiPlayerGame
constructor
MultiPlayerGame(int, GameMatrix, float) - Constructor for class ipdlx.MultiPlayerGame
constructor
MultiplayerGameRoundResult - Class in ipdlx
Results of the game how many points each player won
MultiplayerGameRoundResult(int, Strategy[], double[], double[]) - Constructor for class ipdlx.MultiplayerGameRoundResult
 
MultiPlayerTestTournament - Class in ipdlx.examples
 
MultiPlayerTestTournament() - Constructor for class ipdlx.examples.MultiPlayerTestTournament
 

N

name - Variable in class ipdlx.Player
player's name
NEG - Class in ipdlx.strategy
 
NEG() - Constructor for class ipdlx.strategy.NEG
This constructor creates NEG strategy object with probability of mistake = 0
nrColumns - Variable in class ipdlx.GameMatrix
 
nrOfOpponents - Variable in class ipdlx.Strategy
 
nrRounds - Variable in class ipdlx.GameResult
 
nrRows - Variable in class ipdlx.GameMatrix
 

O

opponentMove - Variable in class ipdlx.Strategy
info about last opponent's move - did he defect or cooperate.
opponentsMoves - Variable in class ipdlx.Strategy
info about last opponent's move - did he defect or cooperate.

P

Pavlov - Class in ipdlx.strategy
Pavlov strategy.
Pavlov() - Constructor for class ipdlx.strategy.Pavlov
 
Pavlov(double) - Constructor for class ipdlx.strategy.Pavlov
 
Pavlov(String, String, String, double) - Constructor for class ipdlx.strategy.Pavlov
 
payoffMatrix - Variable in class ipdlx.GameMatrix
 
payoffs - Variable in class ipdlx.GameResult
number of points won by players
PDFileHandler - Class in ipdlx.tools
 
PDFileHandler(URL) - Constructor for class ipdlx.tools.PDFileHandler
 
PDFileHandler(URL, ClassLoader) - Constructor for class ipdlx.tools.PDFileHandler
 
PDFileHandler(URL[]) - Constructor for class ipdlx.tools.PDFileHandler
 
PDFileHandler(URL[], ClassLoader) - Constructor for class ipdlx.tools.PDFileHandler
 
PDValues - Interface in ipdlx
Common values for PD game
play() - Method in class ipdlx.Game
plays the game and return the results of it
play() - Method in class ipdlx.MultiPlayerGame
plays the game and return the results of it
play() - Method in class ipdlx.StandardGame
plays the game and return the results of it
play() - Method in class ipdlx.Tournament
 
Player - Class in ipdlx
base class for all players
Player(Strategy) - Constructor for class ipdlx.Player
 
Player(Strategy, String) - Constructor for class ipdlx.Player
 
PLAYER_A - Static variable in interface ipdlx.PDValues
constant value for PLAYER A
PLAYER_B - Static variable in interface ipdlx.PDValues
constant value for PLAYER B
playerA - Variable in class ipdlx.StandardGame
first player
playerB - Variable in class ipdlx.StandardGame
second player
PlayerMatrix - Class in ipdlx
payoff matrix for a player.
PlayerMatrix(double, double, double, double) - Constructor for class ipdlx.PlayerMatrix
constructor
PlayerMatrix(double[][]) - Constructor for class ipdlx.PlayerMatrix
 
PlayerPanel - Class in ipdlx.gui
 
PlayerPanel(Tournament) - Constructor for class ipdlx.gui.PlayerPanel
 
players - Variable in class ipdlx.Game
all players
players - Variable in class ipdlx.GameResult
 
print(String) - Static method in class ipdlx.tools.MultiClassLoader
 
probabilityOfMistake - Variable in class ipdlx.Game
The percentage of mistakes the strategy makes.

R

RAND - Class in ipdlx.strategy
Random strategy
RAND() - Constructor for class ipdlx.strategy.RAND
 
randomDouble(double, double) - Static method in class ipdlx.tools.RandomGenerator
 
RandomGenerator - Class in ipdlx.tools
 
RandomGenerator() - Constructor for class ipdlx.tools.RandomGenerator
 
reloadStrategy() - Method in class ipdlx.Player
 
removeGameListener(GameListener) - Method in class ipdlx.Game
 
reset() - Method in class ipdlx.strategy.GRIM
 
reset() - Method in class ipdlx.strategy.Historical
 
reset() - Method in class ipdlx.strategy.NEG
 
reset() - Method in class ipdlx.strategy.Pavlov
 
reset() - Method in class ipdlx.Strategy
sets the initial state of this strategy
reset() - Method in class ipdlx.strategy.STFT
 
reset() - Method in class ipdlx.strategy.TFT
 
reset() - Method in class ipdlx.strategy.TFTT
 
ResultsPanel - Class in ipdlx.gui
 
ResultsPanel(Tournament) - Constructor for class ipdlx.gui.ResultsPanel
 
roundNr - Variable in class ipdlx.GameRoundResult
 

S

setBroadcastResult(boolean) - Method in class ipdlx.Game
 
setBroadcastRoundResults(boolean) - Method in class ipdlx.Game
 
setClassNameReplacementChar(char) - Method in class ipdlx.tools.MultiClassLoader
This optional call allows a class name such as "COM.test.Hello" to be changed to "COM_test_Hello", which is useful for storing classes from different packages in the same retrival directory.
setDeviation(float) - Static method in class ipdlx.tools.RandomGenerator
 
setEnabled(boolean) - Method in class ipdlx.gui.GameSettingsPanel
 
setFileOutput(boolean) - Method in class ipdlx.gui.InfoPanel
 
setGame(Game) - Method in class ipdlx.Tournament
 
setGameMatrix(GameMatrix) - Method in class ipdlx.Game
Sets the game matrix.
setGameType(int) - Method in class ipdlx.Tournament
 
setLastResult(double) - Method in class ipdlx.Player
 
setLastResult(double) - Method in class ipdlx.Strategy
 
setMatrixValues(double[][]) - Method in class ipdlx.gui.GameMatrixPanel
 
setMoveTimeLimit(long) - Method in class ipdlx.Game
Sets the time limit for a player move at each iteration.
setNrRoundsStDev(float) - Method in class ipdlx.Game
Sets the standard deviation for the number of rounds to play.
setNumberOfOpponents(int) - Method in class ipdlx.Player
 
setNumberOfOpponents(int) - Method in class ipdlx.Strategy
 
setNumberOfRounds(int) - Method in class ipdlx.Game
Sets the number of rounds to play
setOpponentMove(double) - Method in class ipdlx.Player
setter for opponentMove field
setOpponentMove(double) - Method in class ipdlx.Strategy
setter for opponentMove field.
setOpponentsMoves(double[]) - Method in class ipdlx.Player
setter for opponentMove field
setOpponentsMoves(double[]) - Method in class ipdlx.Strategy
setter for opponentsMoves field.
setPayoffMatrix(double[][]) - Method in class ipdlx.GameMatrix
 
setPlayerA(Player) - Method in class ipdlx.StandardGame
sets the first player
setPlayerB(Player) - Method in class ipdlx.StandardGame
sets the second player
setPlayers(Vector) - Method in class ipdlx.Game
Sets the players to play this game.
setProbabilityOfMistake(float) - Method in class ipdlx.Game
 
setStrategy(Strategy) - Method in class ipdlx.Player
 
setText(String) - Method in class ipdlx.gui.InfoPanel
 
setTotalTournamentTime(long) - Method in class ipdlx.TournamentResult
 
setTournament(Tournament) - Method in class ipdlx.gui.TournamentRunPanel
 
setTournamentDate(Date) - Method in class ipdlx.TournamentResult
 
sortPlayers() - Method in class ipdlx.TournamentResult
 
sourceMonitorOn - Variable in class ipdlx.tools.MultiClassLoader
 
splitXML(String) - Static method in class ipdlx.tools.TournamentTools
 
STANDARD_GAME - Static variable in class ipdlx.Tournament
 
StandardGame - Class in ipdlx
Standard 2 player game
StandardGame(Game) - Constructor for class ipdlx.StandardGame
Constructs a new game with the same game parameters as the given one.
StandardGame() - Constructor for class ipdlx.StandardGame
Constructs a standard game, playing 200 rounds with the default game matrix.
StandardGame(int, GameMatrix) - Constructor for class ipdlx.StandardGame
constructor
StandardGame(int, GameMatrix, float) - Constructor for class ipdlx.StandardGame
constructor
StandardGameResult - Class in ipdlx
Results of the game how many points each player won
StandardGameResult(int) - Constructor for class ipdlx.StandardGameResult
constructor
StandardGameResult(Player, Player, int) - Constructor for class ipdlx.StandardGameResult
constructor
start() - Method in class ipdlx.gui.TournamentRunPanel
 
stDev - Variable in class ipdlx.Game
how many rounds (iterations)
STFT - Class in ipdlx.strategy
Suspicious Tit-for-Tat strategy
STFT() - Constructor for class ipdlx.strategy.STFT
 
STFT(String, String, String) - Constructor for class ipdlx.strategy.STFT
 
stop() - Method in class ipdlx.gui.TournamentRunPanel
 
stop() - Method in class ipdlx.Tournament
 
strategy - Variable in class ipdlx.Player
player's strategy
Strategy - Class in ipdlx
Base abstract class for all strategies.
Strategy(String, String, String) - Constructor for class ipdlx.Strategy
Constructor for "dirty" strategies.
STRATEGY_ENTRY_KEY - Static variable in class ipdlx.tools.PDFileHandler
 
strategyClass - Variable in class ipdlx.Player
 
StrategyPanel - Class in ipdlx.gui
 
StrategyPanel(Tournament) - Constructor for class ipdlx.gui.StrategyPanel
 

T

TestTournament - Class in ipdlx.examples
 
TestTournament() - Constructor for class ipdlx.examples.TestTournament
 
TFT - Class in ipdlx.strategy
Tit-for-Tat strategy
TFT() - Constructor for class ipdlx.strategy.TFT
 
TFT(String, String, String) - Constructor for class ipdlx.strategy.TFT
 
TFTT - Class in ipdlx.strategy
Tit-for-Two-Tats strategy
TFTT() - Constructor for class ipdlx.strategy.TFTT
 
TFTT(String, String, String) - Constructor for class ipdlx.strategy.TFTT
 
toCompactString() - Method in class ipdlx.GameRoundResult
 
toString() - Method in class ipdlx.Game
Returns a small description of the current game parameters
toString() - Method in class ipdlx.GameMatrix
 
toString() - Method in class ipdlx.GameResult
 
toString() - Method in class ipdlx.GameResultLog
 
toString() - Method in class ipdlx.GameRoundResult
 
toString() - Method in class ipdlx.MultiplayerGameRoundResult
 
toString() - Method in class ipdlx.Player
 
toString() - Method in class ipdlx.PlayerMatrix
Prints out player's payoffs
toString() - Method in class ipdlx.strategy.Historical
 
toString() - Method in class ipdlx.Strategy
 
toString() - Method in class ipdlx.Tournament
 
toString() - Method in class ipdlx.TournamentResult
 
tournament - Variable in class ipdlx.gui.TournamentPanel
 
Tournament - Class in ipdlx
Main Tournament implementation.
Tournament() - Constructor for class ipdlx.Tournament
 
Tournament(Game) - Constructor for class ipdlx.Tournament
 
TournamentApplet - Class in ipdlx.gui
 
TournamentApplet() - Constructor for class ipdlx.gui.TournamentApplet
 
TournamentExample - Class in ipdlx.examples
 
TournamentExample() - Constructor for class ipdlx.examples.TournamentExample
 
TournamentListener - Interface in ipdlx
 
TournamentMonitor - Class in ipdlx.gui
 
TournamentObserver - Interface in ipdlx.gui
 
TournamentPanel - Class in ipdlx.gui
 
TournamentPanel() - Constructor for class ipdlx.gui.TournamentPanel
 
TournamentPanel(Tournament) - Constructor for class ipdlx.gui.TournamentPanel
 
TournamentResult - Class in ipdlx
Results of the game how many points each player won
TournamentResult(Vector, int) - Constructor for class ipdlx.TournamentResult
 
tournamentResultPosted(TournamentResult) - Method in class ipdlx.examples.TournamentExample
 
tournamentResultPosted(TournamentResult) - Method in class ipdlx.gui.InfoPanel
 
tournamentResultPosted(TournamentResult) - Method in class ipdlx.gui.ResultsPanel
 
tournamentResultPosted(TournamentResult) - Method in class ipdlx.gui.TournamentRunPanel
 
tournamentResultPosted(TournamentResult) - Method in interface ipdlx.TournamentListener
 
tournamentResultToHTML(TournamentResult) - Static method in class ipdlx.tools.HTMLGenerator
 
TournamentRunPanel - Class in ipdlx.gui
 
TournamentRunPanel(Tournament) - Constructor for class ipdlx.gui.TournamentRunPanel
 
tournamentStarted(Tournament) - Method in class ipdlx.examples.TournamentExample
 
tournamentStarted(Tournament) - Method in class ipdlx.gui.InfoPanel
 
tournamentStarted(Tournament) - Method in class ipdlx.gui.ResultsPanel
 
tournamentStarted(Tournament) - Method in class ipdlx.gui.TournamentRunPanel
 
tournamentStarted(Tournament) - Method in interface ipdlx.TournamentListener
 
TournamentTools - Class in ipdlx.tools
 
TournamentTools() - Constructor for class ipdlx.tools.TournamentTools
 
transpose() - Method in class ipdlx.PlayerMatrix
takes PlayerMatrix and changes places of temptation and sucker.

U

update(Observable, Object) - Method in class ipdlx.gui.PlayerPanel
 
update() - Method in class ipdlx.gui.PlayerPanel
 
update(Observable, Object) - Method in class ipdlx.gui.TournamentRunPanel
 

V

verify(Class) - Method in class ipdlx.tools.PDFileHandler
 

W

writeMove(int, int, double) - Method in class ipdlx.GameResult
write type of move made by players to game log
writeMove(int, int, double) - Method in class ipdlx.GameResultLog
write type of move made by players to game log
WrongGameMatrixValuesException - Exception in ipdlx
An exception thrown if the values provided for a payoff matrix don't meet the specific conditions (for example T > R > P > S and 2 * R > T + S)
WrongGameMatrixValuesException(String) - Constructor for exception ipdlx.WrongGameMatrixValuesException
 
WrongHistoricalValuesException - Exception in ipdlx.strategy
 
WrongHistoricalValuesException() - Constructor for exception ipdlx.strategy.WrongHistoricalValuesException
 
WrongHistoricalValuesException(String) - Constructor for exception ipdlx.strategy.WrongHistoricalValuesException
 

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