Concepedia

Publication | Closed Access

A fast pattern matching algorithm derived by transformational and assertional reasoning

11

Citations

5

References

1990

Year

Abstract

Abstract Highly optimised algorithms are, in general, hard to understand. This is a consequence of the designer's sacrifice of clarity and modularity in favour of efficiency. In this paper we present a formal derivation of a rather ingenious algorithm, viz., the fast pattern matching algorithm of Boyer and Moore. The development illustrates that transformational programming combined with assertional reasoning provides an appropriate approach for developing and understanding highly optimised algorithms.

References

YearCitations

Page 1