#1314: graphs: calculate tutte polynomial
--------------------------------+--------------------------------
Reporter: jason | Owner: rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.13
Component: graph theory | Resolution:
Keywords: tutte, graph | Merged in:
Authors: Mike Hansen | Reviewers:
Report Upstream: N/A | Work issues: memory cleanup ?
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------+--------------------------------
Comment (by ncohen):
> I have not taken care of the cache cleaning, as I do not know where to
put the lines you suggested.
At the end of the block `if initial_call is True`, you can add the
following :
{{{
ans = tutte_polynomial(G, initial_call=False, edge_selector=edge_selector)
tutte_polynomial.cache.clear()
return ans
}}}
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/1314#comment:52>
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.