|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PDValues
Common values for PD game
| 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 |
|---|
static final java.lang.String[] moves
static final double COOPERATE
static final double DEFECT
static final double EXIT
static final int PLAYER_A
static final int PLAYER_B
static final double DEFAULT_SUCKER
static final double DEFAULT_PUNISHMENT
static final double DEFAULT_REWARD
static final double DEFAULT_TEMPTATION
static final float DEFAULT_MISTAKE_LEVEL
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||