Knuth-Morris-Pratt algorithm
GPTKB entity
Statements (24)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:string-searching_algorithm
|
| gptkbp:alsoKnownAs |
gptkb:KMP_algorithm
|
| gptkbp:category |
gptkb:algorithm
pattern matching algorithm |
| gptkbp:complexity |
O(n + m)
|
| gptkbp:designedBy |
gptkb:Donald_Knuth
gptkb:James_H._Morris gptkb:Vaughan_Pratt |
| gptkbp:field |
computer science
string matching |
| gptkbp:firstPublished |
1977
|
| gptkbp:improves |
naive string search
|
| gptkbp:input |
gptkb:text
gptkb:pattern |
| gptkbp:output |
all occurrences of pattern in text
|
| gptkbp:prevention |
re-examining characters
|
| gptkbp:publishedIn |
gptkb:SIAM_Journal_on_Computing
|
| gptkbp:relatedTo |
gptkb:Boyer-Moore_algorithm
gptkb:Rabin-Karp_algorithm gptkb:finite_automata |
| gptkbp:uses |
prefix function
|
| gptkbp:bfsParent |
gptkb:KMP
|
| gptkbp:bfsLayer |
6
|
| https://www.w3.org/2000/01/rdf-schema#label |
Knuth-Morris-Pratt algorithm
|