#19586: Add is_cayley_graph
-------------------------------------+-------------------------------------
Reporter: jaanos | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: graph theory | Resolution:
Keywords: Cayley graphs | Merged in:
groups | Reviewers:
Authors: Janoš Vidali | Work issues:
Report Upstream: N/A | Commit:
Branch: | 2e14f6959299bbcca913eef22822ae9c51b2fc84
u/jaanos/add_is_cayley_graph | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by ncohen):
Hello,
> Thanks! Will do, just a bit later (currently I'm trying various
solutions for #19585).
Okayyyyyy.
> Sure. By the way, do we have any easily-constructible multigraphs/graphs
with loops ready? Otherwise there'd be a few lines of code just to
construct the graph.
The only ones I know are the directed GNP:
{{{
sage: digraphs.RandomDirectedGNP(5,.2,loops=True)
RandomDirectedGNP(5,0.200000000000000): Looped digraph on 5 vertices
}}}
> Also, `cayley_graph` on a group will not return multiedges or loops,
even when the generators contain repeated elements or the identity and
`simple` is set to `False`. So maybe this is something that should be
changed.
If you have a use for something like that, of course.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19586#comment:18>
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/d/optout.