杜庆峰, 郭智超, 唐学波. DiffS:不同版本SVG格式地图差异匹配算法[J]. 武汉大学学报 ( 信息科学版), 2012, 37(8): 984-987.
引用本文: 杜庆峰, 郭智超, 唐学波. DiffS:不同版本SVG格式地图差异匹配算法[J]. 武汉大学学报 ( 信息科学版), 2012, 37(8): 984-987.
DU Qingfeng, GUO Zhichao, TANG Xuebo. DiffS:Matching Algorithm to Different Version Maps Based on SVG[J]. Geomatics and Information Science of Wuhan University, 2012, 37(8): 984-987.
Citation: DU Qingfeng, GUO Zhichao, TANG Xuebo. DiffS:Matching Algorithm to Different Version Maps Based on SVG[J]. Geomatics and Information Science of Wuhan University, 2012, 37(8): 984-987.

DiffS:不同版本SVG格式地图差异匹配算法

DiffS:Matching Algorithm to Different Version Maps Based on SVG

  • 摘要: 提出了一种不同版本SVG/XML格式的地图差异匹配算法DiffS。该算法以SVG解析树为依据,通过定义宏元素对解析树遍历,并以动态数组为数据结构进行匹配,得到差异脚本,脚本记录了前一个版本到后一个版本的更新操作。应用实验验证算法是有效的。

     

    Abstract: We propose a new DiffS algorithm which is suitable for detecting difference between different version SVG/XML format maps.The algorithm reduces the sum of nodes and levels of parsing tree by defining macro element.By defining dynamic array as data structure and then using top-down level-order traversal approach to match two different version parsing trees,the result of DiffS is an edit script which records the update operations from the first version of SVG map to the second version.The algorithm time complexity of DiffS is low.The application verification shows that the algorithm is effective.

     

/

返回文章
返回