#16331: Game Theory: Build capacity to solve matching games in to Sage.
-------------------------------------+-------------------------------------
Reporter: vinceknight | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: game theory | Resolution:
Keywords: Game Theory, | Merged in:
Matching Games, | Reviewers: Karl-Dieter Crisman,
Authors: Vince Knight, | Travis Scrimshaw
James Campbell | Work issues:
Report Upstream: N/A | Commit:
Branch: | 821808ee3cbd503414058b6d289da3ffdf31e153
u/vinceknight/game_theory__build_capacity_to_solve_matching_games_in_to_sage_|
Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vinceknight):
Replying to [comment:121 tscrim]:
> Perhaps you could use `sorted(d.items(), key=lambda x: repr(x[0])` for
that particular case. I think (nearly) all users will know the order
doesn't matter (if not, then perhaps in that case we teach them about
basic python structures), but I might have been swallowed by the snake too
long ago to see things clearly. `:P` Enjoy the career fair, I'm calling it
a night and will come back to this tomorrow.
That does work but I'd think that it's a bit of a mouthful for people who
are just getting to know the snake (so perhaps coming to Sage just to use
this aspect: I think I'm talking about a very small minority here but
still). I'm happy to leave out the general example of a dictionary tough
and just use each key as required. (I might be talking about a different
'particular case' than you were...)
Over the next couple of days (probably lying to myself and will do this
sooner as it's more fun than other stuff I have to do) I'll re-write the
tests so that the pass on my two machines. Once I push them up you guys
can let me know what you think? Actually having things working on my side
is probably a good starting point...
--
Ticket URL: <http://trac.sagemath.org/ticket/16331#comment:122>
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.