Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Row replacement algorithms for screen editors
Meyers E., Miller W. ACM Transactions on Programming Languages and Systems11 (1):33-56,1989.Type:Article
Date Reviewed: Apr 1 1990

When full-screen text editors must update the viewer’s screen across a low-capacity channel (such as an RS-232 line) it becomes worthwhile to do extra processing to compute a minimal set of terminal-update commands. Computing a minimum for a single line is termed the row-replacement problem by Myers and Miller in this clear and useful paper. They start with a simplified version of the problem and show how to solve it by dynamic programming and then build up to a complete solution using a greedy algorithm that is asymptotically faster than dynamic programming under restricted but natural assumptions.

The authors present their results in the form of programs written in a C-like language (so close to C that they could be immediately used); the algorithms could have been made clearer by replacing the long “if else if” chains with a pseudo-case statement. The paper could also have been improved by making topic transitions clearer.

The discussion of the programs, the proof that they are correct, and their analysis are all presented informally. Given the brevity of the programs, the authors had an opportunity to apply the formal techniques preached by E. W. Dijkstra and most recently debated in the Communications of the ACM. My guess is that the formal techniques were not used because they would not have contributed to the reader’s understanding. This seems to be the right choice; for the intended audience this informality makes the paper easier to understand.

Reviewer:  G. Chandler Review #: CR113290
Bookmark and Share
 
Program Editors (D.2.3 ... )
 
 
Computations On Discrete Structures (F.2.2 ... )
 
 
Dynamic Programming (I.2.8 ... )
 
 
Input/ Output (D.4.4 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Program Editors": Date
A display editor with random access and continuous control
Hammer J. International Journal of Man-Machine Studies 21(3): 203-212, 1984. Type: Article
Dec 1 1985
Showing programs on a screen
Meyer B., Nerson J. (ed), Ko S. Science of Computer Programming 5(2): 111-142, 1985. Type: Article
Dec 1 1985
Generating editing environments based on relations and attributes
Horwitz S., Teitelbaum T. ACM Transactions on Programming Languages and Systems 8(4): 577-608, 1986. Type: Article
Apr 1 1987
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy