Inversion (kombinatorik)

not parsed now - please come back in a few minutes

Media som används på denna webbplats

Inversion set and vector of a permutation.svg

Example of inversions of a permutation

The example permutation (4,1,5,2,6,3) has the left inversion count (0,1,0,2,0,3)
and the inversion set { (1,2) , (1,4),(3,4) , (1,6),(3,6),(5,6) }.
The left inversion count converted to decimal is 373 - the permutation's reverse colexicographic rank.

(This permutation is also shown in this array.)


The inversion set contains 6 of the = 15 2-subsets of a 6-set.

The triangle is ordered like the square array Sloane'sA018900 (compare this triangle).
Inversion qtl1.svg
Författare/Upphovsman: Quartl, Licens: CC BY-SA 3.0
Illustration of an inversion of a permutation.
Symmetric group 4; Cayley graph 1,2,6 (3D).svg

Cayley graph of S4 generated by the transpositions that swap neighbouring elements

Below the permutations the inversion vectors are shown. Their bitwise-smaller relation corresponds to the edges.

This SVG was created with Inkscape.