A redisplay algorithm

  • Authors:
  • James Gosling

  • Affiliations:
  • Carnegie-Mellon University

  • Venue:
  • Proceedings of the ACM SIGPLAN SIGOA symposium on Text manipulation
  • Year:
  • 1981

Quantified Score

Hi-index 0.02

Visualization

Abstract

This paper presents an algorithm for updating the image displayed on a conventional video terminal. It assumes that the terminal is capable of doing the usual insert/delete line and insert/delete character operations. It takes as input a description of the image currently on the screen and a description of the new image desired and produces a series of operations to do the desired transformation in a near-optimal manner. The algorithm is interesting because it applies results from the theoretical string-to-string correction problem (a generalization of the problem of finding a longest common subsequence), to a problem that is usually approached with crude ad-hoc techniques.