On merging structured documents with move operation

  • Authors:
  • Nobutaka Suzuki;Yorichiro Sato;Michiyoshi Hayase

  • Affiliations:
  • Okayama Prefectural University, Soja-shi, Japan;Okayama Prefectural University, Soja-shi, Japan;Okayama Prefectural University, Soja-shi, Japan

  • Venue:
  • ISICT '03 Proceedings of the 1st international symposium on Information and communication technologies
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider merging structured documents, which is to transform given two distinct documents into isomorphic ones. Such merging is essential to synchronizing several copies of a document concurrently edited by several clients. Two documents, treated as ordered trees, are merged by applying a merge script consisting of add, del, upd, and move operations to the documents. We prove that the corresponding decision problem to finding an optimum merge script is NP-complete. Then, we show a sufficient condition under which an optimum merge script can be found in polynomial time.