一种最优特里树合并算法  

An Optimal Trie Merging Algorithm

在线阅读下载全文

作  者:熊帅[1] 常炳国[1] 李睿[1] 

机构地区:[1]湖南大学信息科学与工程学院,长沙410082

出  处:《计算机工程》2013年第5期5-11,共7页Computer Engineering

基  金:湖南省自然科学基金资助项目(12JJ3068)

摘  要:在一个内存有限的物理路由器上,可能需要部署几十个甚至几百个虚拟路由器。为节省内存开销,提出一种最优特里树合并算法。采用动态规划方法求解每棵特里树的初始合并节点和最优特里树的节点数,在动态规划计算过程中记录任意2个节点达到最优匹配时的子节点排列,根据计算结果构造最优特里树。实验结果表明,与简单特里树合并算法相比,该算法能节省20%-90%的内存开销。Dozens or even hundreds of virtual routers may be deployed in a memory limited physical router. To save memory overhead, this paper proposes an algorithm named optimal trie merging algorithm. It adopts dynamic programming approach to find the nodes for initial merging of each trie, and computes the number of nodes of the optimal trie. The sub-node arrangements of any two nodes, which achieve optimal matching, are written down in the process of dynamic programming computation. Then, according to the three computation results, it constructs a data structure named optimal trie. Experimental results show that the algorithm saves 20%-90% memory overhead than simple trie merging algorithm.

关 键 词:虚拟路由器 特里树 内存开销 动态规划 数据包分类 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象