#9136: more named graphs
----------------------------+-----------------------------------------------
Reporter: mvngu | Owner: jason, ncohen, rlm
Type: enhancement | Status: new
Priority: major | Milestone: sage-wishlist
Component: graph theory | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by rlm):
Replying to [comment:18 dimpase]:
> I am not sure I understand how to implement things like add_vertex() and
add_edge() - as we would start with a permutation group G, the set of
vertices is the domain of the group, and edges cannot be added one by one,
but only as whole G-orbits.
> (Alternatively, not all orbits of G are used as the vertex set, and then
adding a vertex would mean adding its G-orbit.)
Well, you can always raise an error in the add_vertex function:
RuntimeError: You can't add vertices to this kind of graph.
Or something similar. Then whenever you called a function which tried to
add a vertex you would get that error, but the rest of the graph library
would work just fine.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9136#comment:19>
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.