Proceedings of the Annual Conference of JSAI
Online ISSN : 2758-7347
38th (2024)
Session ID : 2O1-GS-3-04
Conference information

An Ordered Term Tree Pattern Matching Algorithm for Multiple Compressed Ordered Trees
*Masahiro YAMAGUCHITomoyuki UCHIDAYuko ITOKAWATetsuhiro MIYAHARAYusuke SUZUKI
Author information
CONFERENCE PROCEEDINGS FREE ACCESS

Details
Abstract

An ordered term tree pattern is an edge-labeled ordered tree that has variables. An ordered term tree pattern that has no variables is an ordered tree. An ordered term tree pattern p is said to match an ordered tree T if T is obtained from p by replacing all of variables in p with arbitrary edge-labeled ordered trees, respectively. An ordered tree obtained by structurally and reversibly multiply compressing T is called with a multiple compressed ordered tree of an ordered tree T. In this paper, given an ordered term tree pattern t and a multiple compressed tree comp(T) of an ordered tree T as input, we propose a matching algorithm to determine whether or not t matches T without explicitly decompressing comp(T). Furthermore, we show the efficiency of our matching algorithm by reporting experimental results obtained by comparing a running time of our matching algorithm for an ordered tree p and a multiple compressed ordered tree T with those of the matching algorithm proposed by Suzuki et al. in 2015 for p and the decompressed ordered tree comp(T).

Content from these authors
© 2024 The Japanese Society for Artificial Intelligence
Previous article Next article
feedback
Top