Faster Subtree Isomorphism |
| |
Authors: | Ron Shamir Dekel Tsur |
| |
Affiliation: | aDepartment of Computer Science, Tel Aviv University, Tel Aviv, 69978, Israel |
| |
Abstract: | We study the subtree isomorphism problem: Given trees H and G, find a subtree of G which is isomorphic to H or decide that there is no such subtree. We give an O((k1.5/log k)n)-time algorithm for this problem, where k and n are the number of vertices in H and G, respectively. This improves over the O(k1.5n) algorithms of Chung and Matula. We also give a randomized (Las Vegas) O(k1.376n)-time algorithm for the decision problem. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|