Skip to content

Commit 2e83915

Browse files
authored
Merge pull request #81 from Axelrod-Python/update-strategy-names
Update strategies to reflect new names in axelrod.
2 parents 4502c65 + ee9b750 commit 2e83915

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ language: python
22
python:
33
- 3.5
44
- 3.6
5+
dist: xenial
6+
sudo: required
7+
services:
8+
- xvfb
59
before_install:
6-
- export DISPLAY=:99.0
7-
- sh -e /etc/init.d/xvfb start
810
- sudo apt-get -qq update
911
- sudo apt-get install gfortran
1012
- git clone https://github.com/Axelrod-Python/TourExec.git /tmp/TourExec

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
axelrod>=4.5.0
1+
axelrod>=4.8.0

src/axelrod_fortran/strategies.py

+20-20
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'author': 'Gail Grisell',
1313
'original_rank': 23},
1414
'k32r': {
15-
'axelrod-python_class': axl.Kluepfel,
15+
'axelrod-python_class': axl.SecondByKluepfel,
1616
'stochastic': True,
1717
'author': 'Charles Kluepfel',
1818
'original_rank': 10},
@@ -27,7 +27,7 @@
2727
'author': 'James W Friedman',
2828
'original_rank': 52},
2929
'k35r': {
30-
'axelrod-python_class': axl.Getzler,
30+
'axelrod-python_class': axl.SecondByGetzler,
3131
'stochastic': True,
3232
'author': 'Abraham Getzler',
3333
'original_rank': 11},
@@ -57,12 +57,12 @@
5757
'author': 'Robert Adams',
5858
'original_rank': 35},
5959
'k41r': {
60-
'axelrod-python_class': axl.Weiner,
60+
'axelrod-python_class': axl.SecondByWeiner,
6161
'stochastic': False,
6262
'author': 'Herb Weiner',
6363
'original_rank': 7},
6464
'k42r': {
65-
'axelrod-python_class': axl.Borufsen,
65+
'axelrod-python_class': axl.SecondByBorufsen,
6666
'stochastic': False,
6767
'author': 'Otto Borufsen',
6868
'original_rank': 3},
@@ -72,7 +72,7 @@
7272
'author': 'R D Anderson',
7373
'original_rank': 39},
7474
'k44r': {
75-
'axelrod-python_class': axl.WmAdams,
75+
'axelrod-python_class': axl.SecondByWmAdams,
7676
'stochastic': True,
7777
'author': 'William Adams',
7878
'original_rank': 5},
@@ -87,7 +87,7 @@
8787
'author': 'Graham J Eatherley',
8888
'original_rank': 14},
8989
'k47r': {
90-
'axelrod-python_class': axl.RichardHufford,
90+
'axelrod-python_class': axl.SecondByRichardHufford,
9191
'stochastic': False,
9292
'author': 'Richard Hufford',
9393
'original_rank': 16},
@@ -97,7 +97,7 @@
9797
'author': 'George Hufford',
9898
'original_rank': 53},
9999
'k49r': {
100-
'axelrod-python_class': axl.Cave,
100+
'axelrod-python_class': axl.SecondByCave,
101101
'stochastic': True,
102102
'author': 'Rob Cave',
103103
'original_rank': 4},
@@ -107,7 +107,7 @@
107107
'author': 'Rik Smoody',
108108
'original_rank': 54},
109109
'k51r': {
110-
'axelrod-python_class': axl.Colbert,
110+
'axelrod-python_class': axl.SecondByColbert,
111111
'stochastic': False,
112112
'author': 'John William Colbert',
113113
'original_rank': 18},
@@ -142,7 +142,7 @@
142142
'author': 'Rudy Nydegger',
143143
'original_rank': 31},
144144
'k58r': {
145-
'axelrod-python_class': axl.Rowsam,
145+
'axelrod-python_class': axl.SecondByRowsam,
146146
'stochastic': False,
147147
'author': 'Glen Rowsam',
148148
'original_rank': 21},
@@ -152,7 +152,7 @@
152152
'author': 'Leslie Downing',
153153
'original_rank': 40},
154154
'k60r': {
155-
'axelrod-python_class': axl.GraaskampKatzen,
155+
'axelrod-python_class': axl.SecondByGraaskampKatzen,
156156
'stochastic': False,
157157
'author': 'Jim Graaskamp and Ken Katzen',
158158
'original_rank': 6},
@@ -172,7 +172,7 @@
172172
'author': 'George Duisman',
173173
'original_rank': 57},
174174
'k64r': {
175-
'axelrod-python_class': axl.Yamachi,
175+
'axelrod-python_class': axl.SecondByYamachi,
176176
'stochastic': False,
177177
'author': 'Brian Yamachi',
178178
'original_rank': 17},
@@ -182,17 +182,17 @@
182182
'author': 'Mark F Batell',
183183
'original_rank': 47},
184184
'k66r': {
185-
'axelrod-python_class': axl.Mikkelson,
185+
'axelrod-python_class': axl.SecondByMikkelson,
186186
'stochastic': False,
187187
'author': 'Ray Mikkelson',
188188
'original_rank': 20},
189189
'k67r': {
190-
'axelrod-python_class': axl.Tranquilizer,
190+
'axelrod-python_class': axl.SecondByTranquilizer,
191191
'stochastic': True,
192192
'author': 'Craig Feathers',
193193
'original_rank': 27},
194194
'k68r': {
195-
'axelrod-python_class': axl.Leyvraz,
195+
'axelrod-python_class': axl.SecondByLeyvraz,
196196
'stochastic': True,
197197
'author': 'Fransois Leyvraz',
198198
'original_rank': 12},
@@ -212,7 +212,7 @@
212212
'author': 'James E Hall',
213213
'original_rank': 60},
214214
'k72r': {
215-
'axelrod-python_class': axl.White,
215+
'axelrod-python_class': axl.SecondByWhite,
216216
'stochastic': True,
217217
'author': 'Edward C White Jr',
218218
'original_rank': 13},
@@ -232,12 +232,12 @@
232232
'author': 'Edward Friedland',
233233
'original_rank': None},
234234
'k75r': {
235-
'axelrod-python_class': axl.Harrington,
235+
'axelrod-python_class': axl.SecondByHarrington,
236236
'stochastic': True,
237237
'author': 'Paul D Harrington',
238238
'original_rank': 8},
239239
'k76r': {
240-
'axelrod-python_class': axl.Gladstein,
240+
'axelrod-python_class': axl.SecondByGladstein,
241241
'stochastic': False,
242242
'author': 'David Gladstein',
243243
'original_rank': 46},
@@ -272,12 +272,12 @@
272272
'author': 'Robert A Leyland',
273273
'original_rank': 49},
274274
'k83r': {
275-
'axelrod-python_class': axl.Black,
275+
'axelrod-python_class': axl.SecondByBlack,
276276
'stochastic': True,
277277
'author': 'Paul E Black',
278278
'original_rank': 15},
279279
'k84r': {
280-
'axelrod-python_class': axl.MoreTidemanAndChieruzzi,
280+
'axelrod-python_class': axl.SecondByTidemanAndChieruzzi,
281281
'stochastic': False,
282282
'author': 'T Nicolaus Tideman and Paula Chieruzz',
283283
'original_rank': 9},
@@ -287,7 +287,7 @@
287287
'author': 'Robert B Falk and James M Langsted',
288288
'original_rank': 33},
289289
'k86r': {
290-
'axelrod-python_class': axl.MoreGrofman,
290+
'axelrod-python_class': axl.SecondByGrofman,
291291
'stochastic': False,
292292
'author': 'Bernard Grofman',
293293
'original_rank': 28},

0 commit comments

Comments
 (0)