-
Notifications
You must be signed in to change notification settings - Fork 270
Add sources for some strategies. #1041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
609d27b
421152a
05dfbb4
383c488
9376619
16908bb
9af08c2
ee77f4a
09b5994
88a33ce
6bff664
1cb3187
4d62424
5a6caf3
a2a98f4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,14 @@ | |
|
||
class APavlov2006(Player): | ||
""" | ||
APavlov as defined in http://www.cs.nott.ac.uk/~pszjl/index_files/chapter4.pdf | ||
(pages 10-11). | ||
|
||
APavlov attempts to classify its opponent as one of five strategies: | ||
Cooperative, ALLD, STFT, PavlovD, or Random. APavlov then responds in a | ||
manner intended to achieve mutual cooperation or to defect against | ||
uncooperative opponents. | ||
|
||
Names: | ||
|
||
- Adaptive Pavlov 2006: [Li2007]_ | ||
""" | ||
|
||
name = "Adaptive Pavlov 2006" | ||
|
@@ -73,13 +74,14 @@ def reset(self): | |
|
||
class APavlov2011(Player): | ||
""" | ||
APavlov as defined in http://www.graham-kendall.com/papers/lhk2011.pdf, as | ||
closely as can be determined. | ||
|
||
APavlov attempts to classify its opponent as one of four strategies: | ||
Cooperative, ALLD, STFT, or Random. APavlov then responds in a manner | ||
intended to achieve mutual cooperation or to defect against | ||
uncooperative opponents. | ||
|
||
Names: | ||
|
||
- Adaptive Pavlov 2007: [Li2011]_ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2011? |
||
""" | ||
|
||
name = "Adaptive Pavlov 2011" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,11 @@ class Calculator(Player): | |
""" | ||
Plays like (Hard) Joss for the first 20 rounds. If periodic behavior is | ||
detected, defect forever. Otherwise play TFT. | ||
|
||
|
||
Names: | ||
|
||
- Calculator: Original name by Marc Harper | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not mine -- it's in PRISON and likely predates it (it's in the file of classic strategies). Maybe one of the original Axelrod tournaments? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. I don't think it's one of the original tournaments I'll go with PRISON. |
||
""" | ||
|
||
name = "Calculator" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surely there is an earlier description ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought so too but I struggled to find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll put Axelrod's book in (it's what I did for Cooperator and Alternator). 👍