#19586: Add is_cayley_graph
-------------------------------------+-------------------------------------
       Reporter:  jaanos             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       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:                     |  baba4a8d4919be000984d40f56db542557c55e51
  u/jaanos/add_is_cayley_graph       |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jaanos):

 Hi!

 > > For the labels on undirected edges, what I currently do is pick one
 label and use it whenever its inverse could be used.
 >
 > Sorry, I do not understand this sentence.

 I meant that all undirected edges `(u, v)` such that `u*g == v` or `u*g^-1
 == v`, the same label `g` is used (of course, `g^-1` would be just as
 good).

 > Nooooooo... `set_vertices`? You use it to store the bijection between
 vertices and group elements? Can't you return a dictionary instead ?
 >
 > I hate those "gadget properties". They seem nice when you add them, and
 then you see yourself spending your nights answering idiotic questions
 like "what on earth should I do with set_vertices inside of
 merge_vertices" or something like that `>_<`

 Haha, it seems I hit something that shouldn't be:)

 Maybe we should revert to the last commit, and just add an option to let
 the user have exactly what they want (group/mapping/generating set). As
 for the graph, I guess the best thing would be to let the user construct
 it themselves the way that they want.

 Janoš

--
Ticket URL: <http://trac.sagemath.org/ticket/19586#comment:59>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to