Bridging the algorithm gap: A linear-time functional program for paragraph formatting (Q1961428)

From MaRDI portal





scientific article; zbMATH DE number 1389835
Language Label Description Also known as
English
Bridging the algorithm gap: A linear-time functional program for paragraph formatting
scientific article; zbMATH DE number 1389835

    Statements

    Bridging the algorithm gap: A linear-time functional program for paragraph formatting (English)
    0 references
    0 references
    0 references
    28 November 2000
    0 references
    In the constructive programming community it is commonplace to see formal developments of textbook algorithms. In the algorithm design community, on the other hand, it may be well known that the textbook solution to a problem is not the most efficient possible. However, in presenting the more efficient solution, the algorithm designer will usually omit some of the implementation details, thus creating an algorithm gap between the abstract algorithm and its concrete implementation. This is in contrast to the formal development, which usually proceeds all the way to the complete concrete implementation of the less efficient solution. We claim that the algorithm designer is forced to omit some of the details by the relative expressive poverty of the Pascal-like languages typically used to present the solution. The greater expressiveness provided by a functional language would allow the whole story to be told in a reasonable amount of space. In this paper we use a functional language to present the development of a sophisticated algorithm all the way to the final code. We hope to bridge the algorithm gap between abstract and concrete implementations, and thereby facilitate communication between the constructive programming and algorithm design communities.
    0 references
    sparse dynamic programming
    0 references
    transformational programming
    0 references
    constructive programming
    0 references

    Identifiers