Next: The Breakpoint Graph
Up: An Algorithm for Sorting
Previous: Group Theory Viewpoint
Definitions
Let
denote a permutation of
.
Augment
to a permutation on n+2 vertices
by adding
and
to it. A pair
,
is called a gap. Gaps are
classified into two types: A gap
is called a
breakpoint of
if
;
otherwise, it is called an adjacency of .
We denote by the number of breakpoints in .
Recall from section 10.4.1 that a reversal,
,
on a permutation
transforms
to
We say that a reversal
acts on the gaps
and
.
Peer Itsik
2001-01-17