Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Lazy DynamicProgramming can be Eager. L. Allison,
 

Summary: Lazy Dynamic­Programming can be Eager.
L. Allison,
Department of Computer Science,
Monash University,
AUSTRALIA 3168.
email: lloyd@cs.monash.edu.au
December 1991
Revised May 1992
Abstract. Lazy­evaluation in a functional language is exploited to make the simple dynamic­programming
algorithm for the edit­distance problem run quickly on similar strings: being lazy can be fast.
Keywords: dynamic­programming, edit­distance, functional programming, lazy evaluation.
1. Introduction.
The edit­distance problem[$Sell] is to find the minimum number of point­mutations, D A B, required
to edit one given string A into another given string B. A point­mutation is one of the following: change a
letter, insert a letter, or delete a letter. Sometimes one also wants to find a minimal set of mutations that
edits A into B. The problem, and variations on it, are important in Molecular­Biology for comparing linear
macro­molecules for similarity[$Sank][$Bish]. It also arises in spelling correction, file comparison and
other "computing" problems[$Wagn]. It is closely related to the longest­common­subsequence problem.
There is a large body of work in the computing and biological literature on algorithms, in imperative
languages, for the edit­distance problem and its relatives.

  

Source: Allison, Lloyd - Caulfield School of Information Technology, Monash University

 

Collections: Computer Technologies and Information Sciences