Next:
Up:
Previous:
Information for Good Suffix Heuristic
[j] = m - max{k
0
k
<
m and P[j+1..m]
P
k
or
P
k
P[j+1..m]}
means
suffix
(note:
)
If match j+1..m and P[j]
T[s+j], shift right
[j]
Examples
googoo
j = 0,
P
3
P[1..6]
googo
Next:
Up:
Previous: