New and improved algorithms for unordered tree inclusion

التفاصيل البيبلوغرافية
العنوان: New and improved algorithms for unordered tree inclusion
المؤلفون: Jesper Jansson, Takeyuki Tamura, Tatsuya Akutsu, Ruiming Li, Atsuhiro Takasu
المصدر: Theoretical Computer Science. 883:83-98
بيانات النشر: Elsevier BV, 2021.
سنة النشر: 2021
مصطلحات موضوعية: Sequence, General Computer Science, Degree (graph theory), 0102 computer and information sciences, 02 engineering and technology, Type (model theory), 01 natural sciences, Theoretical Computer Science, Exponential function, Dynamic programming, Tree (data structure), 010201 computation theory & mathematics, 0202 electrical engineering, electronic engineering, information engineering, 020201 artificial intelligence & image processing, Node (circuits), Time complexity, Algorithm, Mathematics
الوصف: The tree inclusion problem is, given two node-labeled trees P and T (the “pattern tree” and the “target tree”), to locate every minimal subtree in T (if any) that can be obtained by applying a sequence of node insertion operations to P. Although the ordered tree inclusion problem is solvable in polynomial time, the unordered tree inclusion problem is NP-hard. The currently fastest algorithm for the latter is a classic algorithm by Kilpelainen and Mannila from 1995 that runs in O ( d 2 2 d m n ) time, where m and n are the sizes of the pattern and target trees, respectively, and d is the degree of the pattern tree. Here, we develop a new algorithm that runs in O ( d 2 d m n 2 ) time, improving the exponential factor from 2 2 d to 2 d by considering a particular type of ancestor-descendant relationships that is suitable for dynamic programming. We also study restricted variants of the unordered tree inclusion problem.
تدمد: 0304-3975
DOI: 10.1016/j.tcs.2021.06.013
URL الوصول: https://explore.openaire.eu/search/publication?articleId=doi_________::fba0931bd54dd6d730cde55b1f058a00
https://doi.org/10.1016/j.tcs.2021.06.013
Rights: OPEN
رقم الانضمام: edsair.doi...........fba0931bd54dd6d730cde55b1f058a00
قاعدة البيانات: OpenAIRE
الوصف
تدمد:03043975
DOI:10.1016/j.tcs.2021.06.013