首页 | 本学科首页   官方微博 | 高级检索  
     


Integer Representation and Counting in the Bit Probe Model
Authors:M Ziaur Rahman  J Ian Munro
Affiliation:1. Cheriton School of Computer Science, University of Waterloo, 200 University Ave. W, Waterloo, Ontario, Canada, N2L 3G1
Abstract:We examine the problem of integer representation in a nearly minimal number of bits so that the increment and the decrement (and indeed the addition and the subtraction) operations can be performed using few bit inspections and fewer bit changes. The model of computation we considered is the bit probe model, where the complexity measure counts only the bitwise accesses to the data structure. We present several efficient data structures to represent integer that use a logarithmic number of bit inspections and a constant number of bit changes per operation. The most space-efficient data structure uses only one extra bit. We also present an extension to our data structure to support efficient addition and subtraction, where the larger value is replaced by the result, while retaining the same asymptotic bounds for the increment and the decrement operations.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号