ipdlx
Interface PDValues

All Known Implementing Classes:
ALLC, ALLD, Game, GameResultLog, GRIM, Historical, MRAND, MultiPlayerGame, NEG, Pavlov, PlayerMatrix, RAND, StandardGame, STFT, Strategy, TFT, TFTT, TournamentResult

public interface PDValues

Common values for PD game

Version:
1.0.1
Author:
Tomasz Kaczanowski, Jan Humble

Field Summary
static double COOPERATE
          constant value for COOPERATE move
static float DEFAULT_MISTAKE_LEVEL
          default value for probability of mistake level
static double DEFAULT_PUNISHMENT
          default value for punishment
static double DEFAULT_REWARD
          default value for reward
static double DEFAULT_SUCKER
          default value for sucker's payoff
static double DEFAULT_TEMPTATION
          default value for temptation to defect
static double DEFECT
          constant value for DEFECT move
static double EXIT
          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
static java.lang.String[] moves
          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
static int PLAYER_A
          constant value for PLAYER A
static int PLAYER_B
          constant value for PLAYER B
 

Field Detail

moves

static final java.lang.String[] moves
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


COOPERATE

static final double COOPERATE
constant value for COOPERATE move

See Also:
Constant Field Values

DEFECT

static final double DEFECT
constant value for DEFECT move

See Also:
Constant Field Values

EXIT

static final double EXIT
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

See Also:
Constant Field Values

PLAYER_A

static final int PLAYER_A
constant value for PLAYER A

See Also:
Constant Field Values

PLAYER_B

static final int PLAYER_B
constant value for PLAYER B

See Also:
Constant Field Values

DEFAULT_SUCKER

static final double DEFAULT_SUCKER
default value for sucker's payoff

See Also:
Constant Field Values

DEFAULT_PUNISHMENT

static final double DEFAULT_PUNISHMENT
default value for punishment

See Also:
Constant Field Values

DEFAULT_REWARD

static final double DEFAULT_REWARD
default value for reward

See Also:
Constant Field Values

DEFAULT_TEMPTATION

static final double DEFAULT_TEMPTATION
default value for temptation to defect

See Also:
Constant Field Values

DEFAULT_MISTAKE_LEVEL

static final float DEFAULT_MISTAKE_LEVEL
default value for probability of mistake level

See Also:
Constant Field Values