View source: R/PrisonersDilemmaStratTourn.R
Get Game Object which fully defines Prisoners Dilemma.
1 2 3 4 5 6 7 | Get.Game.Object.PD(encoding.state = "Main.real",
encoding.action = NULL, encoding.params = NULL,
eval.strategy = Model.strat.Main.real.Exp.Path,
basic.name.eval.model = "model.strat.global",
basic.name.eval.model.par = "model.par.strat.global",
game.setting = "BattleOfStrategies2013.Baseline",
strats = "tit.for.tat")
|
encoding.state |
Which feature selection should be used to encode the game? Default case is the main encoding of the thesis of Martin Kies, Main.real |
encoding.action |
Which method should be used to encode the action? Currently supported:
|
encoding.params |
Insofar the |
eval.strategy |
The name of the strategy used if one wants to evaluate the strategy with the package StratTourn or if self-play is used (i.e. if set to play a tournament with the strategy itself being a viable participant). By default "Model.strat.Main.real.Exp.Path" is used, which is designed to work with the encoding "Main.real". |
basic.name.eval.model |
Global name under which the name of the model is to be saved. |
basic.name.eval.model.par |
Global name under which the name of the parameter list of the model is to be saved. |
game.setting |
Default settings of the game. By default the setting "BattleOfStrategies2013.Baseline" is used, which is the relevant one for the thesis of Martin Kies. For more information regarding the implemented settings see |
strats |
The strategies against which one wants to play. If several strategy names are given, each episode a random strategy is chosen. The code name "self" implements self play. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.