计算机科学 > 数据结构与算法
[提交于 2026年7月16日]
标题:Efficient Pattern Matching for Unordered Term Tree Patterns under Generalized Height-Constrained Bindings
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Unordered trees are useful for modeling hierarchical structures in which the order among siblings is irrelevant. To represent flexible structural patterns in such data, unordered term tree patterns with height-constrained variables provide a natural framework. In our previous work, we studied the pattern matching problem for rooted unordered term tree patterns with height-constrained variables under the restriction that the child port of each variable must correspond to a leaf of a binding tree. In this paper, we remove this restriction and generalize the binding model so that the child port may correspond to any non-root vertex of a binding tree. Under generalized bindings, we formulate the corresponding membership problem and present a polynomial-time pattern matching algorithm. We also implement the proposed algorithm and conduct computational experiments to evaluate its running time. The experimental results show that the proposed method achieves practical running times.
提交历史
来自:Takayoshi Shoudai[v1] 2026年7月16日 星期四 06:30:51 UTC