#7304: [With patch, needs review] Contract edge in graph
----------------------------+-----------------------------------------------
Reporter: AJonsson | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.2.1
Component: graph theory | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
----------------------------+-----------------------------------------------
This patch contract an edge (u,v) in a graph. In the resulting graph
vertex u is merged into vertex v.
The variables u and v can be passed as variables, a tuple (u,v) or a
3-tuple (u,v,'label'). The last allows us to use an element from G.edges()
for contraction.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7304>
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
-~----------~----~----~----~------~----~------~--~---