[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

N-cube string matching algorithm with long texts

  • Conference paper
  • First Online:
Combinatorics and Computer Science (CCS 1995)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1120))

  • 165 Accesses

Abstract

In this paper, we present a distributed algorithm which runs on the N-cube and solves the string matching problem. A basic prefix-suffix matching technique is used as a building block in the construction of the algorithm. As opposed to the parallel algorithm so far designed on shared-memory PRAM models, our algorithm runs distributively on fixed N-cube and especially applies to long texts. Given a text t[1n] and a pattern x[1m] cut into N non-overlapping pieces each of size s≤m, and taking the preprocessing into account, one can find all occurrences of x in t in time O(s+log N) with N processors on a MIMD hypercube.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. B.S. Chlebus and L. Gasieniec. Optimal pattern matching on meshes. In 11th Ann. Symp. on Theoretical Aspects of Computer Science, pages 213–224, 1994.

    Google Scholar 

  2. M. Crochemore and D. Perrin. Two way string-matching. Association for Computing Machinery, 38(3):651–675, 1991.

    Google Scholar 

  3. A. Czumaj, Z. Galil, L. Gasieniec, K. Park, and W. Plandowski. Work-time optimal parallel algorithms for strings problems. Manuscript, 1994.

    Google Scholar 

  4. Z. Galil. A constant-time optimal parallel string matching algorithm. In 24th ACM Symp. on Theory of Computing, pages 69–76, 1992.

    Google Scholar 

  5. Z. Galil and J. Seiferas. Time space optimal string matching. J. Comput. Syst. Sci., 26:280–294, 1983.

    Article  Google Scholar 

  6. L. Gasieniec, W. Plandowski, and W. Rytter. Constant-space string matching with smaller number of comparisons: sequential sampling. In 6th Annual Symposium on Combinatorial Pattern Matching, volume 937 of Lecture Note in Computer Science. Springer-Verlag, 1995.

    Google Scholar 

  7. C.T. Ho and S.L. Johnsson. Distributed routing algorithms for broadcasting and personalized communication in hypercubes. In International Conference on Parallel Processing, pages 640–648, 1986.

    Google Scholar 

  8. O.H. Ibarra, T.C. Pong, and S.M. Sohn. String processing on the hypercube. In IEEE Transactions on Acoustics, Speech and Signal Processing, volume 38, pages 160–164, January 1990.

    Google Scholar 

  9. J. Jájá. Introduction to Parallel Algorithms. Addison-Wesley, Reading, Massachusetts, 1992.

    Google Scholar 

  10. Z.M. Kedem, G.M. Landau, and K.V. Palem. Optimal parallel suffix-prefix matching algorithm and applications. In ACM Symposium on Parallel Algorithms and Architectures, pages 388–398, 1989.

    Google Scholar 

  11. D.K. Kim and K. Park. String matching in hypertext. In 6th Annuel Symp. on Combinatorial Pattern Matching, Lecture Notes in Computer Science, pages 318–329, 1995.

    Google Scholar 

  12. U. Vishkin. Deterministic sampling — a new technique for fast pattern matching. SIAM J. Comput, 20:22–40, 1991.

    MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michel Deza Reinhardt Euler Ioannis Manoussakis

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Moussouni, F., Lavault, C. (1996). N-cube string matching algorithm with long texts. In: Deza, M., Euler, R., Manoussakis, I. (eds) Combinatorics and Computer Science. CCS 1995. Lecture Notes in Computer Science, vol 1120. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-61576-8_93

Download citation

  • DOI: https://doi.org/10.1007/3-540-61576-8_93

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-61576-7

  • Online ISBN: 978-3-540-70627-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics