Algorithms for testing occurrences of length 4 patterns in permutations |
| |
Authors: | Yijie Han Sanjeev Saxena |
| |
Affiliation: | 1.School of Computing and Engineering,University of Missouri at Kansas City,Kansas City,USA;2.Department of Computer Science and Engineering,Indian Institute of Technology,Kanpur,India |
| |
Abstract: | In this paper linear time sequential and optimal parallel algorithms for testing pattern involvement for all length 4 permutations are described. This is an improvement as the previous best sequential algorithms, for most of these pattern require (O(nlog n)) time. Our parallel algorithms can be implemented in (O(log n)) time with (n/log n) processors on the CREW PRAM model, or alternatively in (O(log log log n)) time with (n/log log log n) processors on a CRCW PRAM PRAM model. Parallel algorithm can also be implemented in constant time with (nlog ^3 n) processors on a CRCW PRAM model. The previous best parallel algorithms were available for only some of these patterns and took (O(log n)) time with n processors on the CREW PRAM model. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|