15
Views
0
CrossRef citations to date
0
Altmetric
Original Articles

Augmenting the aho-corasick pattern matching machine

Pages 149-153 | Received 25 Apr 1989, Accepted 09 May 1989, Published online: 19 Mar 2007
 

Abstract

The Aho-Corasick algorithm is a well-known method of determining the occurrences of one of several given pattern strings in a given text string. We address the question of augmenting the pattern matching machine constructed by this algorithm with a new pattern string, both on-line and off-line. We show that augmenting a machine of N nodes with a new pattern string of length m takes Θ(mN) time on-line and Θ(N) time off-line.

Research partially supported by NSF grant No NCR 8706350

Research partially supported by NSF grant No NCR 8706350

Notes

Research partially supported by NSF grant No NCR 8706350

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.