We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506f81d commit 7fabc34Copy full SHA for 7fabc34
docs/tutorials/advanced/classification_of_strategies.rst
@@ -28,6 +28,15 @@ Note that instances of the class also have this classifier::
28
>>> s.classifier == expected_dictionary
29
True
30
31
+and that we can retrieve individual entries from that :code:`classifier` dictionary::
32
+
33
+ >>> s = axl.TitForTat
34
+ >>> s.classifier['memory_depth']
35
+ 1
36
+ >>> s = axl.Random
37
+ >>> s.classifier['stochastic']
38
+ True
39
40
We can use this classification to generate sets of strategies according to
41
filters which we define in a 'filterset' dictionary and then pass to the
42
'filtered_strategies' function. For example, to identify all the stochastic
0 commit comments