#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: | f9388c72ebdefe9ada87f45eb93bc8e33e0bc67b
u/vinceknight/game_theory__build_capacity_to_solve_matching_games_in_to_sage_|
Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vinceknight):
Replying to [comment:133 kcrisman]:
> > > {{{
> > > and all(r1.pref == r2.pref for r1, r2 in
> > > zip(set(self._reviewers),
set(other._reviewers)))
> > > }}}
> > > Doesn't ''this'' rely ultimately on `set` ordering things as well?
(Which I don't thin it does.) I'm not trying to annoy - this is really a
very minor point at this point, though should be resolved. Anyway,
everything else seems quite fine - currently running tests.
> > I did panic here for a bit but I think it's actually ok. The
discrepancies in sorting do not happen on a single system: the differences
are between two different systems so the way things are sorted on any
given Sage session will be the same, right?
>
> What I meant was that when comparing preferences, it sort of assumes
that the ordering of the reviewers in the two games will be the same,
relative to their preferences.
>
> But I think this is okay, because you are only suggesting things be
equal if the names are the same, so that e.g. suitors can be added in a
different order, but you would only have the games be the same if the
names and preferences for that name corresponded, not if the games are
''isomorphic''. Am I right?
Yeah that's correct (if I'm understanding correctly): the equality is
based only on the names (which is because of the underling `sort`
methods that the players now have).
--
Ticket URL: <http://trac.sagemath.org/ticket/16331#comment:134>
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.