#14535: Mutability of Graphs
--------------------------------------------+-------------------------------
Reporter: SimonKing | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: graph theory | Resolution:
Keywords: mutability graph | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Simon King, Volker Braun | Merged in:
Dependencies: #14524 #14732 | Stopgaps:
--------------------------------------------+-------------------------------
Comment (by ncohen):
Hello guys !
I just updated #14806, which now contains a (rather large, sorry `:-/`)
patch which implements a static graph backend. The graphs themselves are
not immutable, for they contain many mutable stuff that isn't located in
the backends (positions, boundary, fancy other stuff), but at least with
this patch you will not have to add decorators to the basic graph methods.
And as a result, you will even get better performances with these graphs.
It may even improve your own computation if you switch to those backends,
as I am told that you do not modify your graphs often. Well, now this
information is put to good use `:-)`
I tried to add documentation/comments to the code, but this patch is so
long that there will obviously be things that need fixing. Now I need the
"second pair of eyes" which our review process says to be the key to
perfection `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14535#comment:38>
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/groups/opt_out.