计算机科学 > 数据库
[提交于 2013年11月21日]
标题:XPath Node Selection over Grammar-Compressed Trees
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:XML document markup is highly repetitive and therefore well compressible using grammar-based compression. Downward, navigational XPath can be executed over grammar-compressed trees in PTIME: the query is translated into an automaton which is executed in one pass over the grammar. This result is well-known and has been mentioned before. Here we present precise bounds on the time complexity of this problem, in terms of big-O notation. For a given grammar and XPath query, we consider three different tasks: (1) to count the number of nodes selected by the query, (2) to materialize the pre-order numbers of the selected nodes, and (3) to serialize the subtrees at the selected nodes.
提交历史
来自:EPTCS[v1] 2013年11月21日 星期四 21:01:02 UTC