Proceedings of the ASIAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation 2002
DOI: 10.1145/568173.568177
|View full text |Cite
|
Sign up to set email alerts
|

On obtaining Knuth, Morris, and Pratt's string matcher by partial evaluation

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
6
0

Year Published

2002
2002
2012
2012

Publication Types

Select...
3
3
1

Relationship

1
6

Authors

Journals

citations
Cited by 11 publications
(6 citation statements)
references
References 13 publications
0
6
0
Order By: Relevance
“…some known input data. A classical example is the specialization of a (semi)naive pattern matcher for a fixed pattern into an efficient algorithm-sometimes called "the KMP-test" (Ager et al, 2002;Consel and Danvy, 1989). The considered program is as follows: …”
Section: Program Specializationmentioning
confidence: 99%
“…some known input data. A classical example is the specialization of a (semi)naive pattern matcher for a fixed pattern into an efficient algorithm-sometimes called "the KMP-test" (Ager et al, 2002;Consel and Danvy, 1989). The considered program is as follows: …”
Section: Program Specializationmentioning
confidence: 99%
“…The existing solutions [1]- [4], [9], [10], [15], [16], [18], [19], [22] generate the pattern p to the suitable data structure such as the automata, the shift table, or the bit parallel to decrease the searching time. Among them, the best one [4] takes O(m) time complexity and O(1) space complexity to process the pattern to its structure.…”
Section: Introductionmentioning
confidence: 99%
“…This paper shows that some efficient algorithms can be automatically generated from inefficient ones. Automatic generation of an efficient pattern matcher from a naive one, introduced in [7], is a typical problem for partial evaluation [1,2,5,10,14]. Let m be the length of a given pattern and n be the length of a given text.…”
Section: Introductionmentioning
confidence: 99%
“…And is α pm (p) of size O(m)? 1 Apparently, Type 2 problem is more difficult than Type 1 and has never been solved by partial evaluation to the best of authors' knowledge. This paper deals with Type 1 problem and reports that, by Generalized Partial Computation (GPC) [8,9], we can generate (1) a Boyer-Moore (BM) type pattern matcher [3] without the bad-character heuristic (the delta 1 table in [3]; see Appendix 1) from a non-linear backward matcher and (2) a Knuth-Morris-Pratt (KMP) matcher from a non-linear forward matcher.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation