Permutation species

sage.combinat.species.permutation_species.PermutationSpecies(*args, **kwds)

Returns the species of permutations.

EXAMPLES:

sage: P = species.PermutationSpecies()
sage: P.generating_series().coefficients(5)
[1, 1, 1, 1, 1]
sage: P.isotype_generating_series().coefficients(5)
[1, 1, 2, 3, 5]
class sage.combinat.species.permutation_species.PermutationSpeciesStructure(parent, labels, list)

Bases: sage.combinat.species.structure.GenericSpeciesStructure

automorphism_group()

Returns the group of permutations whose action on this structure leave it fixed.

EXAMPLES:

sage: p = PermutationGroupElement((2,3,4))
sage: P = species.PermutationSpecies()
sage: a = P.structures(["a", "b", "c", "d"]).random_element(); a
['a', 'c', 'b', 'd']
sage: a.automorphism_group()
Permutation Group with generators [(2,3), (1,4)]
sage: [a.transport(perm) for perm in a.automorphism_group()]
[['a', 'c', 'b', 'd'],
 ['a', 'c', 'b', 'd'],
 ['a', 'c', 'b', 'd'],
 ['a', 'c', 'b', 'd']]
canonical_label()

EXAMPLES:

sage: P = species.PermutationSpecies()
sage: S = P.structures(["a", "b", "c"])
sage: [s.canonical_label() for s in S]
[['a', 'b', 'c'],
 ['b', 'a', 'c'],
 ['b', 'a', 'c'],
 ['b', 'c', 'a'],
 ['b', 'c', 'a'],
 ['b', 'a', 'c']]
permutation_group_element()

Returns self as a permutation group element.

EXAMPLES:

sage: p = PermutationGroupElement((2,3,4))
sage: P = species.PermutationSpecies()
sage: a = P.structures(["a", "b", "c", "d"]).random_element(); a
['a', 'c', 'b', 'd']
sage: a.permutation_group_element()
(2,3)
transport(perm)

Returns the transport of this structure along the permutation perm.

EXAMPLES:

sage: p = PermutationGroupElement((2,3,4))
sage: P = species.PermutationSpecies()
sage: a = P.structures(["a", "b", "c", "d"]).random_element(); a
['a', 'c', 'b', 'd']
sage: a.transport(p)
['a', 'd', 'c', 'b']
class sage.combinat.species.permutation_species.PermutationSpecies_class(min=None, max=None, weight=None)
Bases: sage.combinat.species.species.GenericCombinatorialSpecies

Previous topic

Partition Species

Next topic

Linear-order Species

This Page