Any one knows who is the inventor of the Z-algorithm??!!
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 151 |
Any one knows who is the inventor of the Z-algorithm??!!
Name |
---|
I believe Dan Gusfield is the inventor. My professor for a computational biology class I took made this claim but I can't find any source on the internet to back it up!
Z-values is discussed in his book "Algorithms on Strings, Trees, and Sequences". I don't own this book but he may make the claim to inventing the algorithm in the first chapter? If someone owns the book, can they confirm this?
The book is actually in my university's library
The German University in Cairo.
I do read it often but I didn't observe that he is the inventor.
I will double check the book. Thank you
It seems that the idea of the linear-time preprocessing was first described in the paper "An O(n log n) algorithm for finding all repetitions in a string" by Main and Lorentz (1984).
Then, in 1994 Gusfield published the tech report "Simple Uniform Preprocessing for Linear-time Pattern Matching" in which he shows that the preprocessing can be used by multiple linear-time string matching algorithms. Gusfield cites Main and Lorentz as the original authors of the preprocessing.