EconPapers    
Economics at your fingertips  
 

Algorithms for testing occurrences of length 4 patterns in permutations

Yijie Han () and Sanjeev Saxena ()
Additional contact information
Yijie Han: University of Missouri at Kansas City
Sanjeev Saxena: Indian Institute of Technology

Journal of Combinatorial Optimization, 2018, vol. 35, issue 1, No 15, 189-208

Abstract: 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(n\log n)$$ O ( n log n ) time. Our parallel algorithms can be implemented in $$O(\log n)$$ O ( log n ) time with $$n/\log n$$ n / log n processors on the CREW PRAM model, or alternatively in $$O(\log \log \log n)$$ O ( log log log n ) time with $$n/\log \log \log n$$ n / log log log n processors on a CRCW PRAM PRAM model. Parallel algorithm can also be implemented in constant time with $$n\log ^3 n$$ n log 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)$$ O ( log n ) time with n processors on the CREW PRAM model.

Keywords: Separable permutations; Length 4 permutations; Pattern matching; Optimal algorithms; Parallel algorithms (search for similar items in EconPapers)
Date: 2018
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
http://link.springer.com/10.1007/s10878-017-0163-8 Abstract (text/html)
Access to the full text of the articles in this series is restricted.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:jcomop:v:35:y:2018:i:1:d:10.1007_s10878-017-0163-8

Ordering information: This journal article can be ordered from
https://www.springer.com/journal/10878

DOI: 10.1007/s10878-017-0163-8

Access Statistics for this article

Journal of Combinatorial Optimization is currently edited by Thai, My T.

More articles in Journal of Combinatorial Optimization from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-03-20
Handle: RePEc:spr:jcomop:v:35:y:2018:i:1:d:10.1007_s10878-017-0163-8