کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
430940 688234 2007 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Comparing similar ordered trees in linear-time
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Comparing similar ordered trees in linear-time
چکیده انگلیسی

We describe a linear-time algorithm for comparing two similar ordered rooted trees with node labels. The method for comparing trees is the usual tree edit distance. We show that an optimal mapping that uses at most k   insertions or deletions can then be constructed in O(nk3)O(nk3) where n is the size of the trees. The approach is inspired by the Zhang–Shasha algorithm for tree edit distance in combination with an adequate pruning of the search space based on the tree edit graph.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Discrete Algorithms - Volume 5, Issue 4, December 2007, Pages 696–705
نویسندگان
,