#10538: Implementation of the class ClusterQuiver
-------------------------------------------+--------------------------------
Reporter: stumpc5 | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: combinatorics | Resolution:
Keywords: cluster algebra, quiver | Work issues:
Report Upstream: N/A | Reviewers: Gregg Musiker
Authors: Christian Stump | Merged in:
Dependencies: #10527 | Stopgaps:
-------------------------------------------+--------------------------------
Comment (by gmoose05):
I just re-uploaded my patch. Christian, thanks for catching those bugs.
* The trailing whitespace should be gone now. I don't think I introduced
any new space, but will double-check after the patchbot is finished re-
running.
* I agree with you about .mutation_type() instead of ._mutation_type but
we have not defined .mutation_type() yet.
Once we add in the newer patches, we should remember to include editing
these doc-tests.
* The wording in exchangeable_part has been changed.
* Yes, that it is better - the warnings in mutate have been turned into
Value Errors
* Regarding twist [1,2] and [2,1]. This is a little more subtle. So
{{{
sage: QuiverMutationType(['F',4,[1,2]])
}}}
and
{{{
sage: QuiverMutationType(['F',4,[2,1]])
}}}
both give you:
{{{
['F', 4, [1, 2]]
}}}
In fact,
{{{
sage: QuiverMutationType(['F',4,[2,1]]) ==
QuiverMutationType(['F',4,[1,2]])
True
}}}
We have as before:
{{{
sage: Q = Quiver(['F',4,[1,2]); Q
Quiver on 6 vertices of type ['F', 4, [1, 2]]
sage: Q2 = Quiver(['F',4,[1,2]); Q2
Quiver on 6 vertices of type ['F', 4, [1, 2]]
sage: Q3 = Quiver(['F',4,[2,1]); Q3
Quiver on 6 vertices of type ['F', 4, [1, 2]]
sage: Q1._mutation_type == Q3._mutation_type
True
sage: Q1 == Q2
True
}}}
The difference now is:
{{{
sage: Q1 == Q3
False
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10538#comment:24>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.