| 注册
首页|期刊导航|计算机工程与应用|POTwigStack:一种改进的XML小枝模式匹配算法

POTwigStack:一种改进的XML小枝模式匹配算法

石隽锋 张剑妹

计算机工程与应用2012,Vol.48Issue(11):123-128,6.
计算机工程与应用2012,Vol.48Issue(11):123-128,6.DOI:10.3778/j.issn.1002-8331.2012.11.027

POTwigStack:一种改进的XML小枝模式匹配算法

POTwigStack: improved algorithm of XML twig pattern matching

石隽锋 1张剑妹2

作者信息

  • 1. 山西大学现代教育技术中心,太原030006
  • 2. 长治学院,山西长治046011
  • 折叠

摘要

Abstract

At present, the algorithms of XML query based on twig pattern are hotspot of research. Most of them use recursive functions in accordance with preorder to find matching nodes, which brings too many unnecessary "use and return" operations. To solve this problem, an algorithm named POTwigStack is proposed, which uses a function named POgetNext to find matching nodes. The function is a recursive algorithm in accordance with postorder, which can avoid the useless operations of "use and return" effectively, and therefore the algorithm POTwigStack performs better.

关键词

可扩展标记语言(XML)/查询/小枝模式/递归/前序/后序/“调用/返回”操作

Key words

Extensible Markup Language (XML)/ query/ twig pattern/ recursion/ preorder/ postorder/ "use and return" operation

分类

信息技术与安全科学

引用本文复制引用

石隽锋,张剑妹..POTwigStack:一种改进的XML小枝模式匹配算法[J].计算机工程与应用,2012,48(11):123-128,6.

基金项目

山西省高校科技开发项目(No.200811049). (No.200811049)

计算机工程与应用

OACSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文