Skip to content

Commit

Permalink
[#1079] Fix doc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballs authored and drvinceknight committed Jul 23, 2017
1 parent 394b0f2 commit 8136ed8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions axelrod/strategies/axelrod_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ class Grofman(Player):
Cooperate on the first two rounds and
returns the opponent's last action for the next 5. For the rest of the game
Grofman cooperates if both players selected the same action in the previous
round, and otherwise cooperates randomly with probability
:math:`\frac{2}{7}`.
round, and otherwise cooperates randomly with probability :math:`frac{2}{7}`.
This strategy came 4th in Axelrod's original tournament.
Expand Down
24 changes: 12 additions & 12 deletions docs/reference/overview_of_strategies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ An indication is given as to whether or not this strategy is implemented in the
.. csv-table:: Strategies in Axelrod's first tournament
:header: "Name", "Author", "Axelrod Library Name"

"`Tit For Tat`_", "Unknown. Probably Robert Axelrod", ":class:`TitForTat <axelrod.strategies.titfortat.TitForTat>`"
"Tit For Tat", "Unknown. Probably Robert Axelrod", ":class:`TitForTat <axelrod.strategies.titfortat.TitForTat>`"
"`Tideman and Chieruzzi`_", "T Nicolaus Tideman and Paula Chieruzz", "Not Implemented "
"`Nydegger`_", "Rudy Nydegger", ":class:`Nydegger <axelrod.strategies.axelrod_first.Nydegger>`"
"`Grofman`_", "Bernard Grofman", ":class:`Grofman <axelrod.strategies.axelrod_first.Grofman>`"
"`Shubik`_", "Martin Shubik", ":class:`Shubik <axelrod.strategies.axelrod_first.Shubik>`"
"`Stein and Rapoport`_", "Stein and Anatol Rapoport", ":class:`SteinAndRapoport <axelrod.strategies.axelrod_first.SteinAndRapoport>`"
"`Grudger`_", "James W Friedman", ":class:`Grudger <axelrod.strategies.grudger.Grudger>`"
"`Davis`_", "Morton Davis", ":class:`Davis <axelrod.strategies.axelrod_first.Davis>`"
"Nydegger", "Rudy Nydegger", ":class:`Nydegger <axelrod.strategies.axelrod_first.Nydegger>`"
"Grofman", "Bernard Grofman", ":class:`Grofman <axelrod.strategies.axelrod_first.Grofman>`"
"Shubik", "Martin Shubik", ":class:`Shubik <axelrod.strategies.axelrod_first.Shubik>`"
"Stein and Rapoport", "Stein and Anatol Rapoport", ":class:`SteinAndRapoport <axelrod.strategies.axelrod_first.SteinAndRapoport>`"
"Grudger", "James W Friedman", ":class:`Grudger <axelrod.strategies.grudger.Grudger>`"
"Davis", "Morton Davis", ":class:`Davis <axelrod.strategies.axelrod_first.Davis>`"
"`Graaskamp`_", "Jim Graaskamp", "Not Implemented"
"`Downing`_", "Leslie Downing", ":class:`RevisedDowning <axelrod.strategies.axelrod_first.RevisedDowning>`"
"`Feld`_", "Scott Feld", ":class:`Feld <axelrod.strategies.axelrod_first.Feld>`"
"`Joss`_", "Johann Joss", ":class:`Joss <axelrod.strategies.axelrod_first.Joss>`"
"`Tullock`_", "Gordon Tullock", ":class:`Tullock <axelrod.strategies.axelrod_first.Tullock>`"
"`Unnamed Strategy`_", "Unknown", ":class:`UnnamedStrategy <axelrod.strategies.axelrod_first.UnnamedStrategy>`"
"Downing", "Leslie Downing", ":class:`RevisedDowning <axelrod.strategies.axelrod_first.RevisedDowning>`"
"Feld", "Scott Feld", ":class:`Feld <axelrod.strategies.axelrod_first.Feld>`"
"Joss", "Johann Joss", ":class:`Joss <axelrod.strategies.axelrod_first.Joss>`"
"Tullock", "Gordon Tullock", ":class:`Tullock <axelrod.strategies.axelrod_first.Tullock>`"
"Unnamed Strategy", "Unknown", ":class:`UnnamedStrategy <axelrod.strategies.axelrod_first.UnnamedStrategy>`"
":ref:`random-strategy`", "Unknown. Probably Robert Axelrod", ":class:`Random <axelrod.strategies.rand.Random>`"


Expand Down

0 comments on commit 8136ed8

Please sign in to comment.