#1314: graphs: calculate tutte polynomial
-------------------------------------+-------------------------------------
Reporter: jason | Owner: rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: graph theory | Resolution:
Keywords: tutte, graph | Merged in:
Authors: Mike Hansen, | Reviewers: Jernej Azarija,
Frédéric Chapoton, Jernej Azarija | Nathann Cohen
Report Upstream: N/A | Work issues:
Branch: public/1314 | Commit:
Dependencies: | 5450ef20b36892ccbe3f6c3d5c9f049fad03cbb8
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by tscrim):
I put my changes in the branch `u/tscrim/tutte_polynomial-1314` and
reverted back the public branch. It seems like I'm making a whole bunch of
extra function calls that I have NO idea why...stuff it getting put into
the cache as it should, everything is calling the internal function... IMO
this is a better way of doing things, but something is being hyper-
sensitive.
Anyways, I did make a few tweaks. I put `initial_call` as the last
argument to make the user less likely to touch it. I also allowed the
cache to take non-keyword arguments. I also made some other micro-
optimizations by moving the `if edge_selector is None:` into the
`initial_call` block and moved the `x,y = R.gens()`.
--
Ticket URL: <http://trac.sagemath.org/ticket/1314#comment:75>
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.