arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

Efficient Processing of XML Tree Pattern Queries

Yangjun Chen, Dunren Che

· Journal of Advanced Computational Intelligence and Intelligent Informatics

See on the map

Abstract

In this paper, we present a polynomial-time algorithm for TPQ (tree pattern queries) minimization without XML constraints involved. The main idea of the algorithm is a dynamic programming strategy to find all the matching subtrees within a TPQ. A matching subtree implies a redundancy and should be removed in such a way that the semantics of the original TPQ is not damaged. Our algorithm consists of two parts: one for subtree recognization and the other for subtree deletion. Both of them needs only O(<I>n</I> 2 ) time, where <I>n</I> is the number of nodes in a TPQ.

More like this