Module m_ipd::strategies::axelrod [−][src]
Functions
betray_defect | Cooperates unless one betrayer betrayed the other in the last shown round, in which case it only cooperates with low probability. |
decreasing_tit_for_tat | Plays tit for tat but cooperates with decreasing probability each turn |
defect_streaks | Defects in streaks increasing by length 1. |
grudge_holder | Cooperates until the opponent defects even once. |
optimistic_tit_for_tat | Copies the opponents last move if it was shown, cooperating otherwise. |
punishing_tit_for_tat | Punishes the other player by one turn more each time the other player engages in a streak of defections. |
random | Plays randomly with probability |
random_tit_for_tat | Copies the other’s cooperation with probability 90%, otherwise defects. |
tit_for_tat | Copies the opponents last shown move. |