Static dictionaries supporting rank

被引:0
|
作者
Raman, V [1 ]
Rao, SS [1 ]
机构
[1] Inst Math Sci, Madras 600113, Tamil Nadu, India
来源
ALGORITHMS AND COMPUTATIONS | 2000年 / 1741卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A static dictionary is a data structure for storing a subset S of a finite universe U so that membership queries can be answered efficiently. We explore space efficient structures to also find the rank of an element if found. We first give a representation of a static dictionary that takes n lg m + O(lg lg m) bits of space and supports membership and rank (of an element present in S) queries in constant time, where n = /S/ and m = /U/. Using our structure we also give a representation of a m-ary cardinal tree with n nodes using n[lg m] + 2n + o(n) bits of space that supports the tree navigational operations in O(1) time, when is o(2(lg n/ lg lg n)). For arbitrary m, we give a structure that takes the same space and supports all the navigational. operations, except finding the child labeled i (for any i), in O(1) time. Finding the child labeled i in this structure takes O(lg Ig Ig m) time.
引用
收藏
页码:18 / 26
页数:9
相关论文
共 50 条