ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 17 Aug 2018 08:59:28 -0500How can I compute the orbits of an automorphism group?https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/ I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.Wed, 08 Aug 2018 03:31:56 -0500https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/Comment by tmonteil for <p>I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.</p>
https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?comment=43286#post-id-43286Could you please provide an explicit construction of your automorphism group ?Wed, 08 Aug 2018 03:50:44 -0500https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?comment=43286#post-id-43286Answer by Sébastien for <p>I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.</p>
https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?answer=43401#post-id-43401Let's say that you are considering the automorphism group of a graph. Then, you do:
sage: edges = [(0,1), (1,2), (2,3), (3,4), (4,5), (5,3)]
sage: G = Graph(edges, format='list_of_edges')
sage: group = G.automorphism_group()
sage: group
Permutation Group with generators [(4,5)]
sage: group.orbits()
[[0], [1], [2], [3], [4, 5]]
You may also get both the automorphism group and the orbits from the graph:
sage: group, orbits = G.automorphism_group(orbits=True)
sage: group
Permutation Group with generators [(4,5)]
sage: orbits
[[0], [1], [2], [3], [4, 5]]
Fri, 17 Aug 2018 08:59:28 -0500https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?answer=43401#post-id-43401Answer by tmonteil for <p>I am new on automorphisms, need to know how to compute the orbits of an automorphism group in Sage.</p>
https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?answer=43284#post-id-43284Could you please provide an explicit construction of your automorphism group ?Wed, 08 Aug 2018 03:33:28 -0500https://ask.sagemath.org/question/43283/how-can-i-compute-the-orbits-of-an-automorphism-group/?answer=43284#post-id-43284