egttools.behaviors.NormalForm.TwoActions¶
API reference documentation for behaviors.NormalForm.TwoActions submodule.
Classes
Strategy that tends to repeat its previous action. |
|
Strategy that always cooperates. |
|
Strategy that always defects. |
|
A Detective player who tries to analyze the opponent. |
|
A GRIM player with randomized first action and probability of making mistakes. |
|
A TFT player with randomized first action and probability of making mistakes. |
|
Grim Trigger: cooperate until the opponent defects once, then defect forever. |
|
Generous Tit for Tat. |
|
Gradual Tit for Tat. |
|
Tit for Tat with implementation errors. |
|
Defines a Memory One strategy. |
|
Win-stay, lose-shift strategy. |
|
Strategy that cooperates with probability 0.5. |
|
Suspicious Tit for Tat: defect in the first round, then copy the opponent's previous action. |
|
Tit for Tat: cooperate in the first round, then copy the opponent's previous action. |
|
Tit for two tats: defect only after two consecutive defections. |
|
Two tits for tat: defect twice after a defection. |