Skip to main content

On Parallel Implementations of Deterministic Finite Automata

  • Conference paper
Implementation and Application of Automata (CIAA 2009)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5642))

Included in the following conference series:

Abstract

We present implementations of parallel DFA run methods and find whether and under what conditions is worthy to use the parallel methods of simulation of run of finite automata.

First, we introduce the parallel DFA run methods for general DFA, which are universal, but due to the dependency of simulation time on the number of states |Q| of automaton being run, they are suitable only for run of automata with the smaller number of states.

Then we show that if we apply some restrictions to properties of automata being run, we can reach the linear speedup compared to the sequential simulation method. We designed methods benefiting from k-locality that allows optimum parallel run of exact and approximate pattern matching automata.

Finally, we show the results of experiments conducted on two types of parallel computers (Cluster of workstations and Symmetric shared-memory multiprocessors).

This research has been partially supported by the Ministry of Education, Youth and Sports under research program MSM 6840770014 and the Czech Science Foundation as project No. 201/09/0807.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Černý, J.: Poznámka k homogénnym experimentom s konečnými automatmi. Mat. fyz. čas. SAV 14, 208–215 (1964)

    Google Scholar 

  2. Černý, J., Pirická, A., Rosenauerová, B.: On directable automata. Kybernetika 7(4), 289–297 (1971)

    MathSciNet  MATH  Google Scholar 

  3. Holub, J., Iliopoulos, C.S., Melichar, B., Mouchard, L.: Distributed pattern matching using finite automata. J. Autom. Lang. Comb. 6(2), 191–204 (2001)

    MathSciNet  MATH  Google Scholar 

  4. Holub, J.: Reduced nondeterministic finite automata for approximate string matching. In: Holub, J. (ed.) Proceedings of the Prague Stringologic Club Workshop 1996, Czech Technical University in Prague, Czech Republic, pp. 19–27. Collaborative Report DC–96–10 (1996)

    Google Scholar 

  5. Holub, J.: Finite automata implementations considering CPU cache. Acta Polytechnica 47(6), 51–55 (2007)

    MathSciNet  Google Scholar 

  6. Ladner, R.E., Fisher, M.J.: Parallel prefix computation. J. Assoc. Comput. Mach. 27(4), 831–838 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  7. Melichar, B.: Approximate string matching by finite automata. In: Hlaváč, V., Šára, R. (eds.) CAIP 1995. LNCS, vol. 970, pp. 342–349. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  8. Melichar, B.: String matching with k differences by finite automata. In: Proceedings of the 13th International Conference on Pattern Recognition, Vienna, Austria, vol. II, pp. 256–260. IEEE Computer Society Press, Los Alamitos (1996)

    Chapter  Google Scholar 

  9. Ngassam, E.K., Kourie, D.G., Watson, B.W.: Reordering finite automatata states for fast string recognition. In: Holub, J., Šimánek, M. (eds.) Proceedings of the Prague Stringology Conference 2005, Czech Technical University in Prague, Czech Republic, pp. 69–80 (2005)

    Google Scholar 

  10. Ngassam, E.K., Kourie, D.G., Watson, B.W.: On implementation and performance of table-driven DFA-based string processors. In: Holub, J., Žďárek, J. (eds.) Proceedings of the Prague Stringology Conference 2006, Czech Technical University in Prague, Czech Republic, pp. 108–122 (2006)

    Google Scholar 

  11. Thompson, K.: Regular expression search algorithm. Commun. ACM 11, 419–422 (1968)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Holub, J., Štekr, S. (2009). On Parallel Implementations of Deterministic Finite Automata. In: Maneth, S. (eds) Implementation and Application of Automata. CIAA 2009. Lecture Notes in Computer Science, vol 5642. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02979-0_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-02979-0_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-02978-3

  • Online ISBN: 978-3-642-02979-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics