#7304: Contract edge in graph
--------------------------+-------------------------------------------------
Reporter: AJonsson | Owner: rlm
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: graph theory | Resolution:
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
--------------------------+-------------------------------------------------
Comment(by ncohen):
> I'm not at all in favor of having two different behaviors encoded in one
function. One option would be to implement the __div__ and _backslash_
operators to do, respectively, contraction and deletion without changing
the object.
Got it !
This being said, I understand that's how matroid theory is written "on the
paper", but do you think it would be possible to write useful code using
only those symbols when any of them means copying the whole structure ?
But perhaps I do not know how you intend to code it, and how much such
operations could cost in memory and time ...
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7304#comment:21>
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.