#14319: Automorphism group with labeled vertices
-------------------------------------------------+-------------------------
       Reporter:  ncohen                         |        Owner:  jason,
           Type:  enhancement                    |  ncohen, rlm
       Priority:  major                          |       Status:  closed
      Component:  graph theory                   |    Milestone:  sage-5.10
       Keywords:                                 |   Resolution:  fixed
        Authors:  Nathann Cohen                  |    Merged in:
Report Upstream:  N/A                            |  sage-5.10.beta2
         Branch:                                 |    Reviewers:  Volker
   Dependencies:  #14291, #14250, #14477,        |  Braun
  #14435                                         |  Work issues:
                                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by ncohen):

 Yoooooooooo !!

 > Damned, I missed this.

 Looks like I added you to the Cc when I created the ticket, though. And
 Florent, too.

 > The list method is important! It gives the permutation in list notation,
 and I am using it in my class tomorrow!

 Yeah well, you may need it and everything but it isn't even defined
 properly.

 > Ok, the meaning is a bit dubious when the domain is any set

 DUBIOUS ? Come on, it has no meaning whatsoever. Other than what "domain"
 returns.

 > but I guess the following semantic would make sense:
 >
 > - domain(): returns self.parent().domain() (if at all needed)
 > - list(): returns [self(i) for i in self.parent().domain()]
 > - tuple(): returns tuple(self.list())
 >
 > If you agree with the above, I'll create a new ticket. And ignore the
 warning in class tomorrow ...

 Why don't you just add some lines to the constructor of `Permutation` ?
 You could just write `p = Permutation(your_permutation_group_element)`.
 That would have a meaning.

 What would a `.list()` function do in `PermutationGroupElement` otherwise
 ? Hell, what does `.tuple()` do there too ? It's not like
 `tuple(a.domain())` is so long that it needs a function of its own `O_o`

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/14319#comment:49>
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/groups/opt_out.

Reply via email to