Parallel algorithms for separable permutations

  • Authors:
  • V. Yugandhar;Sanjeev Saxena

  • Affiliations:
  • Department of Computer Science and Engineering, Indian Institute of Technology, Kanpur 208 016, India;Department of Computer Science and Engineering, Indian Institute of Technology, Kanpur 208 016, India

  • Venue:
  • Discrete Applied Mathematics
  • Year:
  • 2005

Quantified Score

Hi-index 0.04

Visualization

Abstract

In this paper, it is shown that on the CREW model we can test whether a given permutation of 1,...,n is separable in O(logn) time with n processors. If d is the depth of the optimal (minimum) depth separating tree of a separable permutation, then a separating tree of depth @Q(d) can be constructed on the CREW model in O(logn) time with O(n^2) cost or alternatively in O(dlogn) time with O(nd) cost. We can test whether the given separable permutation P of 1,...,k has a match in a permutation T of 1,...,n (n=k) in O(dlogn) time with O(kn^4) cost (the same as that of the serial algorithm). We can also find the number of matches of P in T in O(dlogn) time with O(kn^6) cost (the same as that of the serial algorithm). Both algorithms are for the CREW model. We also discuss how the space complexity of the existing serial algorithms for the decision problem can be reduced from O(kn^3) to O(n^3logk) and of the counting version from O(kn^4) to O(n^4logk).