- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
a simple optimal representation for balanced parentheses:一个简单的平衡圆括号表示
Theoretical Computer Science 368 (2006) 231–246
/locate/tcs
A simple optimal representation for balanced parentheses
a a a ,∗ b
Richard F. Geary , Naila Rahman , Rajeev Raman , Venkatesh Raman
aDepartment of Computer Science, University of Leicester, Leicester LE1 7RH, UK
bInstitute of Mathematical Sciences, Chennai 600 113, India
Abstract
We consider succinct, or highly space-efficient, representations of a (static) string consisting of n pairs of balanced parentheses,
which support natural operations such as finding the matching parenthesis for a given parenthesis, or finding the pair of parentheses
that most tightly enclose a given pair. This problem was considered by Jacobson [Space-efficient static trees and graphs, in: Proc.
of the 30th FOCS, 1989, pp. 549–554] and Munro and Raman [Succinct representation of balanced parentheses and static trees,
SIAM J. Comput. 31 (2001) 762–776] who gave O(n)-bit and 2n + o(n)-bit representations, respectively, that supported the above
operations in O(1) time on the RAM model of computation. This data structure is a fundamental tool in succinct representations,
and has applications in representing suffix trees, ordinal trees, planar graphs and permutations.
We consider the practical performance of parenthesis representations. First, we give a new 2n + o(n)-bit representation that
supports all the above operations in O(1) time. This representation is conceptually simpler, its space bound has a smaller o(n) term
and it also has a simple and uniform o(n) time and space construction algorithm.
您可能关注的文档
- a quadratic kalman filter:在最优kalman滤波器.pdf
- a quantitative fault tolerance evaluation model for topology in wireless sensor networks based on the semi-markov process:基于半马尔可夫过程的无线传感器网络拓扑结构的定量容错评价模型.pdf
- a quantum chemistry study of diethynylbenzene macrocycles structural and electronic properties:等因素的大环化合物的结构和电子性质的量子化学研究.pdf
- a quarantine process for the resolution of duodenoscope-associated transmission of multidrug-resistant escherichia coli:对多重耐药大肠埃希菌十二指肠镜相关的传输分辨率检疫过程.pdf
- a quasilinear differential inclusion for viscous and rate-independent damage systems in non-smooth domains:一种粘性和率在非光滑区域独立损伤系统拟线性微分包含.pdf
- a rabbit model to tissue engineer the bladder:一种组织工程膀胱的兔子模型.pdf
- a quantization of the harmonic analysis on the infinite-dimensional unitary group:无穷维酉群谐波分析的量化.pdf
- a quantum chemical study of unexpected reaction of α-chloroacyl chlorides with 1,2-dichloroethylene in the presence of aluminum chloride:意想不到的反应α-氯代酰氯在氯化铝存在下1的量子化学研究.pdf
- a queuing network model for minimizing the total makespan of computational grids:排队网络模型计算网格的总完工时间最小化.pdf
- a randomised crossover trial comparing the airtraq nt, mcgrath mac and macintosh laryngoscopes for nasotracheal intubation of simulated easy and difficult airways in a manikin:一项随机交叉试验比较airtraq nt,麦克格拉斯mac和macintosh喉镜在假人模拟容易和困难气道气管插管.pdf
- a simple model to predict bacteremia in women with acute pyelonephritis:一个简单的模型来预测急性肾盂肾炎妇女菌血症.pdf
- a simple policy for multiple queues with size-independent service times:规模无关的多个队列的简单策略.pdf
- a simple polymerase chain reaction technique to detect and differentiate shigella and enteroinvasive escherichia coli in human feces:一个简单的聚合酶链反应技术检测和粪便中的痢疾和肠侵袭性大肠杆菌分化.pdf
- a simple quantum integro-differential solver (squids):一个简单的量子积分微分求解器(鱿鱼).pdf
- a simple system for converting lacz to gfp reporter fusions in diverse bacteria:将lacz基因gfp融合在不同的细菌,一个简单的系统.pdf
- a simple simulated annealing algorithm for the maximum clique problem:最大团问题的一种简单模拟退火算法.pdf
- a simple shift register circuit for depletion-mode oxide tfts:一个耗尽型氧化物tft简单的移位寄存器电路.pdf
- a simple sonochemical approach for synthesis and characterization of zn2sio4 nanostructures:和纳米结构的合成表征zn2sio4简单的化学方法.pdf
- a simple strategy for defining polynomial spline spaces over hierarchical t-meshes:定义多项式样条空间分级t网格上的一个简单的策略.pdf
- a simplified enzymatic method for total cholesterol determination in milk:牛奶中总胆固醇含量测定的简化方法.pdf
原创力文档


文档评论(0)