Skip to main content

Pattern matching in trace monoids

Extended abstract

  • Automata Theory III
  • Conference paper
  • First Online:
STACS 97 (STACS 1997)

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

Included in the following conference series:

Abstract

An algorithm is presented solving the factor problem in trace monoids. Given two traces represented by words, the algorithm determines in linear time whether the first trace is a factor of the second one. The space used for this task is linear in the length of the first word. Similar to the Knuth-Morris-Pratt Algorithm for the factor problem on words, the algorithm simulates a finite automaton determined by the first word on the second word. To develop the algorithm, we examine overlaps of two traces, and extensible trace pairs (which represent still extensible prefixes of a searched factor appearing in some other trace), and show that both structures are lattices.

The most part of this work was done while the author was a member of the section Theoretical Computer Science at the University of Stuttgart.

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.

References

  1. Aho, A. V., Hopcroft, J. E., and Ullman, J. D. The Design and Analysis of Computer Algorithms. Addison Wesley, 1974.

    Google Scholar 

  2. Birkhof, G. Lattice Theory. Amer. Math. Soc., Providence, RI, 1940.

    Google Scholar 

  3. Cartier, P., and Foata, D. Problèmes combinatoires de commutation et réarrangements. Lect. Notes in Math. 85. Springer, 1969.

    Google Scholar 

  4. Cori, R., and Métivier, Y. Recognizable subsets of some partially abelian monoids. Theoretical Computer Science, 35:179–189, 1985.

    Article  Google Scholar 

  5. Cori, R., Métivier, Y., and Zielonka, W. Asynchronous mappings and asynchronous cellular automata. Information and Computation, 106:159–202, 1993.

    Article  Google Scholar 

  6. Cori, R., and Perrin, D. Automates et commutations partielles. RAIRO Informatique Théorique et Applications, 19:21–32, 1985.

    Google Scholar 

  7. Diekert, V. Combinatorics on Traces. LNCS 454. Springer, 1990.

    Google Scholar 

  8. Diekert, V., and Métivier, Y. Partial commutation and traces. In Rozenberg, G., and Salomaa, A., Handbook on Formal Languages, volume III. Springer, 1996.

    Google Scholar 

  9. Diekert, V., and Rozenberg G., editors. The Book of Traces. World Scientific, Singapore, 1995.

    Google Scholar 

  10. Duboc, C. On some equations in free partially commutative monoids. Theoretical Computer Science, 46:159–174, 1986.

    Article  Google Scholar 

  11. Eilenberg, S. Automata, Languages, and Machines, volume A. Academic Press, New York and London, 1974.

    Google Scholar 

  12. Gastin, P., and Rozoy, B. The poset of infinitary traces. Theoretical Computer Science, 120:101–121, 1993.

    Article  Google Scholar 

  13. Hashiguchi, K., and Yamada, K. String matching problems over free partially commutative monoids. Information and Computation, 101:131–149, 1992.

    Article  Google Scholar 

  14. Knuth, D. E., Morris, J. H., and Pratt, V. R. Fast pattern matching in strings. SIAM Journal on Computing, 6:323–350, 1977.

    Article  Google Scholar 

  15. Liu, H.-N., Wrathall, C., and Zeger, K. Efficient solution of some problems in free partially commutative monoids. Information and Computation, 89:180–198, 1990.

    Article  Google Scholar 

  16. Mazurkiewicz, A. Concurrent program schemes and their interpretations. DAIMI Rep. PB 78, Aarhus University, 1977.

    Google Scholar 

  17. Otto, F., and Wrathall, C. Overlaps in free partially commutative monoids. Journal of Computer and System Sciences, 42:186–198, 1991.

    Article  Google Scholar 

  18. Reischuk, K. R. Einführung in die Komplexitätstheorie. Teubner, Stuttgart, 1990.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Rüdiger Reischuk Michel Morvan

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Messner, J. (1997). Pattern matching in trace monoids. In: Reischuk, R., Morvan, M. (eds) STACS 97. STACS 1997. Lecture Notes in Computer Science, vol 1200. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0023490

Download citation

  • DOI: https://doi.org/10.1007/BFb0023490

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62616-9

  • Online ISBN: 978-3-540-68342-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics