View source: R/PrisonersDilemmaStratTourn.R
Outputs List with three elements:
next.state - next game state (in Complete Form)
reward - What did we get from transitioning to the next state?
game.finished - Boolean; is the game over?
Public Function which might be called by algorithms.
1 | State.Transition.PD(game.state, action, game.object)
|
game.state |
A complete game state, non encoded |
action |
The choice of action. |
game.object |
as specified by Get.Game.Object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.