Skip to content

Commit 4d7a1dc

Browse files
committed
Removing long run time since it runs faster than some strategies within fast run time
1 parent a90baa7 commit 4d7a1dc

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

axelrod/strategies/attention.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ class EvolvedAttention(Player):
344344
classifier = {
345345
"memory_depth": MEMORY_LENGTH,
346346
"stochastic": False,
347-
"long_run_time": True,
347+
"long_run_time": False,
348348
"inspects_source": False,
349349
"manipulates_source": False,
350350
"manipulates_state": False,

axelrod/tests/unit/test_classification.py

-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ def test_inclusion_of_strategy_lists(self):
303303
def test_long_run_strategies(self):
304304
long_run_time_strategies = [
305305
axl.DBS,
306-
axl.EvolvedAttention,
307306
axl.MetaMajority,
308307
axl.MetaMajorityFiniteMemory,
309308
axl.MetaMajorityLongMemory,

docs/how-to/classify_strategies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Some strategies have been classified as having a particularly long run time::
110110
... }
111111
>>> strategies = axl.filtered_strategies(filterset)
112112
>>> len(strategies)
113-
19
113+
18
114114

115115
Strategies that :code:`manipulate_source`, :code:`manipulate_state`
116116
and/or :code:`inspect_source` return :code:`False` for the

0 commit comments

Comments
 (0)