#18712: Create test for Degeneracy in Normal Form Games
-------------------------------------+-------------------------------------
Reporter: jcampbell | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.8
Component: game theory | Resolution:
Keywords: Game Theory, | Merged in:
Normal Form Game, Degenerate | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 789baf91d70242f5e174d4b5c71cedb16b342410
u/vinceknight/degenerate | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by vinceknight):
* commit: c1afc79cc9b4cc20ceacdd7fc87efd310a38f324 =>
789baf91d70242f5e174d4b5c71cedb16b342410
* branch: u/jcampbell/degenerate => u/vinceknight/degenerate
Comment:
Replying to [comment:11 ptigwe]:
> Instead of passing the payoff matrix into the `best_response` function,
could you make it such that the player index i.e. either 1 or 2 (or 0, 1.
I don't remember which is officially used in the documentation or if we
actually have a documented indexing of players) is passed in place if the
payoff matrix. This way you can then retrieve the payoff matrix from the
given player. Next, could you make this function locked to two players.
Have implemented this: went for 0,1 indexing although this is not
documented as such. Everything is documented with examples. Furthermore I
added exception handling for games with more than 2 players and also
handling certain bad strategy vectors.
I've also changed some of the documentation slightly to make use of the
normal form game catalog that is now in `develop` (see #17392).
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=178432f4dc2a52bfe6aaaadd914f47d014fe9b85
178432f]||{{{Merge branch 'develop' into degenerate}}}||
||[http://git.sagemath.org/sage.git/commit/?id=7906597681128c4489d34a31ed2c071daeccbc77
7906597]||{{{Making use of catalog for some tests/examples}}}||
||[http://git.sagemath.org/sage.git/commit/?id=1e2660b066bb6cb4928fa667897f2d62cca94626
1e2660b]||{{{Best response func now takes plyrs}}}||
||[http://git.sagemath.org/sage.git/commit/?id=789baf91d70242f5e174d4b5c71cedb16b342410
789baf9]||{{{Adding exception handling for best response function.}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/18712#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.