#13425: Compute mutation type of a ClusterSeed or ClusterQuiver
---------------------------------------------------+------------------------
Reporter: gmoose05 | Owner:
sage-combinat
Type: enhancement | Status:
needs_review
Priority: major | Milestone: sage-5.9
Component: combinatorics | Resolution:
Keywords: cluster algebra, quiver, days45 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Gregg Musiker, Christian Stump | Merged in:
Dependencies: #13424 | Stopgaps:
---------------------------------------------------+------------------------
Comment (by stumpc5):
Hi Gregg, I uploaded a new patch.
The main changes are:
- the mutation type check is now done in the order:
- check if it is mutation infinite
- look in existing files
- use the big algorithm to determine the type
- generate the files and look in these newly generated files
(I just realize that this results in two times looking in the data if it
already exists. I should change that).
- I moved the is_mutation_finite into mutation_type and take a matrix as
input. I did this because this is quicker than computing the quiver and
then the matrix again.
- I rewrote the code to construct the classical and exceptional data.
Please have a look and say what you think.
The old mutation type check was actually very buggy. We still have a
problem to solve: if you want to test the mutation type of
{{{ClusterQuiver([['A',3],['B',2],['T',(4,4,4)]])}}}, you will get an
error since the third part is "unknown infinite" but the program is trying
to build a reducible type from it.
I would also appreciate if you could try to add some more tests to the
mutation type and the is_finite_type tests and check if I didn't introduce
any new bugs...
Cheers, Christian
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13425#comment:11>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.