1999 · 181 citations · 19 references
ComputingComputer ScienceAlgorithmsComputer ArchitectureData StructuresData Structure AlgorithmsExternal Memory AlgorithmsExternal Memory Data StructuresMemory HierarchyMemory Hierarchy OptimizationVirtual MemoryExternal Memory Graph Data StructuresExternal Memory ModelExternal Memory Traversal AlgorithmsHierarchical Data ManagementSequence ComparisonShortest Path ProblemsShortest Path Trees
We present an external-memory algorithm for computing a minimum-cost edit script between two rooted, ordered, labeled trees. The I/O, RAM, and CPU costs of our algorithm are, respectively, 4mn+7m+5n, 6S, andO(MN+(M+N)S1:5), whereMandNare the input tree sizes,Sis the block size,m=M=S, andn=N=S. This algorithm can make effective use of surplus RAM capacity to quadratically reduce I/O cost. We extend to trees the commonly used mapping from sequence comparison problems to shortest-path problems in edit graphs. 1
19
The String-to-String Correction Problem
Robert A. Wagner, Michael J. Fischer · Journal of the ACM · 1974 · 3.1K citations · Full text
Rcs — a system for version control
Walter F. Tichy · Software Practice and Experience · 1985 · 950 citations
AnO(ND) difference algorithm and its variations
Eugene W. Myers · Algorithmica · 1986 · 899 citations