Parallel Algorithms for Patience Sorting and Longest Increasing Subsequence

نویسندگان

  • Takaaki NAKASHIMA
  • Akihiro FUJIWARA
چکیده

In this paper, we consider parallel algorithms for the patience sorting and the longest increasing subsequence. These two problems are related each other and are not known to be in the class NC or P -complete. We first propose two algorithms for the patience sorting of n distinct integers. The first algorithm runs in O(m(np + logn)) time using p processors on the EREW PRAM, where m is the number of decreasing subsequences in a solution of the patience sorting, and the second algorithm runs in O( logn p +m 2 log np +m log p) time using p processors on the EREW PRAM. If 1 < p < n m2 is satisfied, the second algorithm becomes cost optimal. Finally, we propose a procedure which computes the longest increasing subsequence from a solution of the patience sorting, and obtain a parallel algorithm, which runs with the same complexity as the algorithm for the patience sorting, for the longest increasing subsequence.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Enumerating Longest Increasing Subsequences and Patience Sorting Enumerating Longest Increasing Subsequences and Patience Sorting

In this paper we present three algorithms that solve three combinatorial optimization problems related to each other. One of them is the patience sorting game, invented as a practical method of sorting real decks of cards. The second problem is computing the longest monotone increasing subsequence of the given sequence of n positive integers in the range 1; : : : ; n. The third problem is to en...

متن کامل

Longest Increasing Subsequences: from Patience Sorting to the Baik-deift-johansson Theorem

We describe a simple one-person card game, patience sorting. Its analysis leads to a broad circle of ideas linking Young tableaux with the longest increasing subsequence of a random permutation via the Schensted correspondence. A recent highlight of this area is the work of Baik-Deift-Johansson which yields limiting probability laws via hard analysis of Toeplitz determinants.

متن کامل

Patience Sorting, Longest Increasing Subsequences and a Continuous Space Analog of the Simple Asymmetric Exclusion Process

There is a broad circle of ideas relating to the length Ln of the longest increasing subsequence of a random n-permutation. After reviewing known results and methods, we develop two new themes. The simplest algorithm for computing the length of the longest increasing subsequence can be viewed as a card gard, patience sorting, and one theme is to give the first asymptotic probabilistic analysis ...

متن کامل

Enumerating longest increasing subsequences and patience sorting

In this paper we present three algorithms that solve three combinatorial optimization problems related to each other. One of them is the patience sorting game, invented as a practical method of sorting real decks of cards. The second problem is computing the longest monotone increasing subsequence of the given sequence of n positive integers in the range 1, . . . , n. The third problem is to en...

متن کامل

Longest Increasing Subsequences : From PatienceSorting to the

We describe a simple one-person card game, patience sorting. Its analysis leads to a broad circle of ideas linking Young tableaux with the longest increasing subsequence of a random permutation via the Schensted correspondence. A recent highlight of this area is the work of Baik-Deift-Johansson which yields limiting probability laws via hard analysis of Toeplitz determinants.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002