IDEAS home Printed from https://ideas.repec.org/a/spr/jcomop/v35y2018i1d10.1007_s10878-017-0163-8.html
   My bibliography  Save this article

Algorithms for testing occurrences of length 4 patterns in permutations

Author

Listed:
  • Yijie Han

    (University of Missouri at Kansas City)

  • Sanjeev Saxena

    (Indian Institute of Technology)

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.

Suggested Citation

  • Yijie Han & Sanjeev Saxena, 2018. "Algorithms for testing occurrences of length 4 patterns in permutations," Journal of Combinatorial Optimization, Springer, vol. 35(1), pages 189-208, January.
  • Handle: RePEc:spr:jcomop:v:35:y:2018:i:1:d:10.1007_s10878-017-0163-8
    DOI: 10.1007/s10878-017-0163-8
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10878-017-0163-8
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10878-017-0163-8?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jcomop:v:35:y:2018:i:1:d:10.1007_s10878-017-0163-8. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.