- Robinson-Schensted algorithm
In
mathematics , the Robinson–Schensted algorithm is a combinatorial algorithm, first described by Robinson in 1938, which establishes a bijective correspondence between elements of thesymmetric group and pairs of standardYoung tableaux of the same shape. It can be viewed as a simple, constructive proof of the combinatorial identity::where means varies over all partitions of and is the number of standard Young tableaux of shape . It does this by constructing a map from pairs of -tableaux to permutations .Schensted, who independently discovered the algorithm, generalized it to the case where is semi-standard and is any sequence of numbers.The Robinson–Schensted–Knuth algorithm was developed by Knuth in 1970 and establishes a bijective correspondence between generalized permutations (two-line arrays of lexicographically ordered positive integers) and pairs of semi-standard Young tableaux of the same shape.
Definition
The Robinson–Schensted algorithm starts from the permutation written in lexicographic two-line notation:,where , and proceeds by constructing a sequence of ordered pairs of Young tableaux of the same shape::,where are null tableaux. The output standard tableaux are and . The sequence is constructed by, at each step constructing by "inserting" in and constructing by "placing" (adding the element at a specified corner) into .
Given a Young tableau , to row insert into ,
* Set equal to the first row of
* While contains an element greater than , do:*Let be the smallest element of greater than .:*Replace by in .:*Set and set equal to the next row down.
*Place at the end of the row and stop.Thus, the Robinson-Schensted algorithm proceeds as follows
* Set
* For to :*Construct by row inserting into :*Construct by placing into at the same corner the insertion terminated (so that and have the same shape)
* Return The algorithm is invertible and produces a pair of standard Young tableaux if the are a permutation. Moreover if the permutation yields the pair its inverse permuation yields the pair .References
*G. de B. Robinson, "On representations of the symmetric group," "Amer. J. Math." 60 (1938), 745–760. Zbl [http://www.zentralblatt-math.org/zmath/en/search/?q=an:0019.25102 0019.25102]
*D. E. Knuth, "Permutations, matrices and generalized Young tableaux," "Pacific J. Math." 34 (1970), 709–727.
*B. E. Sagan, "The Symmetric Group," Graduate texts in mathematics 203 (Springer-Verlag, New York, 2001), ISBN 0387950672
*C. Schensted, "Longest increasing and decreasing subsequences," "Canad. J. Math." 13 (1961), 179–191.
Wikimedia Foundation. 2010.