کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
9656999 687257 2005 20 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Lowest common ancestors in trees and directed acyclic graphs
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Lowest common ancestors in trees and directed acyclic graphs
چکیده انگلیسی
We conclude the paper with a short experimental study of LCA algorithms in trees and DAGs. Our experiments and source code demonstrate the elegance of the preprocessing-query algorithms for LCA in trees. We show that for most trees the suboptimal Θ(nlogn)-preprocessing Θ(1)-query algorithm should be preferred, and demonstrate that our proposed O(n3) algorithm for all-pairs-representative LCA in DAGs performs well in both low and high density DAGs.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Algorithms - Volume 57, Issue 2, November 2005, Pages 75-94
نویسندگان
, , , , ,