Skip to content

Commit f8945c9

Browse files
update links in nash.py
1 parent 1ed1abf commit f8945c9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/pygambit/nash.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class NashComputationResult:
6666

6767

6868
def enumpure_solve(game: libgbt.Game, use_strategic: bool = True) -> NashComputationResult:
69-
"""Compute all :ref:`pure-strategy Nash equilibria <gambit-enumpure>` of game.
69+
"""Compute all :ref:`pure-strategy Nash equilibria <enumpure>` of game.
7070
7171
Parameters
7272
----------
@@ -105,7 +105,7 @@ def enummixed_solve(
105105
rational: bool = True,
106106
lrsnash_path: pathlib.Path | str | None = None,
107107
) -> NashComputationResult:
108-
"""Compute all :ref:`mixed-strategy Nash equilibria <gambit-enummixed>`
108+
"""Compute all :ref:`mixed-strategy Nash equilibria <enummixed>`
109109
of a two-player game using the strategic representation.
110110
111111
Parameters
@@ -168,7 +168,7 @@ def lcp_solve(
168168
max_depth: int | None = None
169169
) -> NashComputationResult:
170170
"""Compute Nash equilibria of a two-player game using :ref:`linear
171-
complementarity programming <gambit-lcp>`.
171+
complementarity programming <lcp>`.
172172
173173
Parameters
174174
----------
@@ -234,7 +234,7 @@ def lp_solve(
234234
use_strategic: bool = False
235235
) -> NashComputationResult:
236236
"""Compute Nash equilibria of a two-player constant-sum game using :ref:`linear
237-
programming <gambit-lp>`.
237+
programming <lp>`.
238238
239239
Parameters
240240
----------
@@ -283,7 +283,7 @@ def liap_solve(
283283
maxiter: int = 1000
284284
) -> NashComputationResult:
285285
"""Compute approximate Nash equilibria of a game using
286-
:ref:`Lyapunov function minimization <gambit-liap>`.
286+
:ref:`Lyapunov function minimization <liap>`.
287287
288288
.. versionchanged:: 16.2.0
289289
@@ -345,7 +345,7 @@ def simpdiv_solve(
345345
leash: int | None = None
346346
) -> NashComputationResult:
347347
"""Compute Nash equilibria of a game using :ref:`simplicial
348-
subdivision <gambit-simpdiv>`.
348+
subdivision <simpdiv>`.
349349
350350
.. versionchanged:: 16.2.0
351351
@@ -404,7 +404,7 @@ def ipa_solve(
404404
perturbation: libgbt.Game | libgbt.MixedStrategyProfileDouble,
405405
) -> NashComputationResult:
406406
"""Compute Nash equilibria of a game using :ref:`iterated polymatrix
407-
approximation <gambit-ipa>`.
407+
approximation <ipa>`.
408408
409409
Parameters
410410
----------
@@ -460,7 +460,7 @@ def gnm_solve(
460460
local_newton_maxits: int = 10,
461461
) -> NashComputationResult:
462462
"""Compute Nash equilibria of a game using :ref:`a global Newton
463-
method <gambit-gnm>`.
463+
method <gnm>`.
464464
465465
Parameters
466466
----------
@@ -585,9 +585,9 @@ def enumpoly_solve(
585585
maxregret: float = 1.0e-4,
586586
phcpack_path: pathlib.Path | str | None = None
587587
) -> NashComputationResult:
588-
"""Compute Nash equilibria by enumerating all support profiles of strategies
589-
or actions, and for each support finding all totally-mixed equilibria of
590-
the game over that support.
588+
""":ref:`Compute Nash equilibria by enumerating all support profiles
589+
of strategies or actions, and for each support finding all totally-mixed equilibria of
590+
the game over that support.<enumpoly_solve>`
591591
592592
Parameters
593593
----------
@@ -671,7 +671,7 @@ def logit_solve(
671671
max_accel: float = 1.1,
672672
) -> NashComputationResult:
673673
"""Compute Nash equilibria of a game using :ref:`the logit quantal response
674-
equilibrium correspondence <gambit-logit>`.
674+
equilibrium correspondence <logit>`.
675675
676676
Returns an approximation to the limiting point on the principal branch of
677677
the correspondence for the game.

0 commit comments

Comments
 (0)