DocumentCode :
818881
Title :
Dynamic Segment Trees for Ranges and Prefixes
Author :
Chang, Yeim-Kuan ; Lin, Yung-Chieh
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Cheng Kung Univ., Tainan
Volume :
56
Issue :
6
fYear :
2007
fDate :
6/1/2007 12:00:00 AM
Firstpage :
769
Lastpage :
784
Abstract :
In this paper, we develop a segment tree data structure for solving dynamic table lookup problems. The proposed dynamic segment tree (DST) uses all of the distinct end points of ranges as the keys based on a new range end point scheme. The new end point scheme generates fewer end points than the traditional end point scheme. DST is implemented as a balanced binary search tree augmented with a range set in each node. The performance of accessing and updating the ranges stored in each node is improved by an efficient range set data structure that combines the priority queue and the interval tree. Based on the proposed data structures, the time complexities of search, insertion, and deletion in a set of N arbitrary ranges are O(log N), O(log N times log Max), and O(Max times log N times log Max), respectively, where Max is the maximum number of ranges covering any address. In practical routing tables, Max is a small constant (six for the routing tables we tested). The memory requirement for DST is O(N log N). The experimental results using real Internet Protocol version 4 (IPv4) routing tables show that both the DST and prefix binary tree on binary tree (PBOB) by Lu et al. (2004) perform much better than the multiway range tree (MRT) by Warkhede et al. (2004) and prefix in B-tree (PIBT) by Lu et al. (2005) in terms of update speed and memory consumption, but DST performs much better than PBOB and a little slower than MRT and PIBT in terms of search speed
Keywords :
Internet; protocols; table lookup; telecommunication network routing; tree data structures; Internet Protocol version 4; binary search tree; dynamic segment tree; dynamic table lookup problem; multiway range tree; routing table; time complexity; tree data structure; Binary search trees; Binary trees; Data structures; Helium; Routing protocols; Table lookup; Testing; Tree data structures; Web and internet services; Web sites; B-trees; Segment tree; dynamic routing tables.; elementary intervals;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/TC.2007.1037
Filename :
4167788
Link To Document :
بازگشت