Professional Documents
Culture Documents
36 - PDFsam - Escholarship UC Item 5qd0r4ws
36 - PDFsam - Escholarship UC Item 5qd0r4ws
Table 2.1: Step-work complexity for our methods with p processors (p1 groups with p2 processors
in each).
the running time of all our parallel alternatives (because of the O(n/p) term in Eq. (2.8), (2.9),
and (2.10)).
As the pattern size m increases, more overlapped characters are included in DRK and HRK.
These overlaps are redundant work and thus, there always exists a pattern size for which CRK
is superior to the other algorithms, and for all larger patterns. This can also be seen in step
complexities and the fact that CRK does not have any factor of pattern size in it. Also, with fixed
number of processors (fixed p) and for large sizes of text and pattern our asymptotic analysis
gets more accurate and hence we expect the DRK method to be asymptotically superior to the
HRK method. However, for smaller text or pattern sizes, the order may differ.
22