了解Ukkonen的算法后缀树

编程入门 行业动态 更新时间:2024-10-26 22:28:19
本文介绍了了解Ukkonen的算法后缀树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在做与Ukkonen的算法,一些工作为构建后缀树,但我不理解作者的解释,一些地方为它的线性时间的复杂度。

I'm doing some work with Ukkonen's algorithm for building suffix trees, but I'm not understanding some parts of the author's explanation for it's linear-time complexity.

我已经学会了算法,并有codeD,但我正在使用的信息(链接波纹管)的主要来源纸张有点混乱,在一些地方,所以它不是为我,为什么算法真正明确是线性的。

I have learned the algorithm and have coded it, but the paper which I'm using as the main source of information (linked bellow) is kinda confusing at some parts so it's not really clear for me why the algorithm is linear.

任何帮助吗?谢谢你。

链接到Ukkonen的文章:www.cs.helsinki.fi/u/ukkonen/SuffixT1withFigs.pdf

Link to Ukkonen's paper: www.cs.helsinki.fi/u/ukkonen/SuffixT1withFigs.pdf

推荐答案

查找Gusfield的string算法教材。它有后缀树建设我见过的最好展示。线性是一个数字的高级算法的优化的一个令人惊讶的结果。

Find a copy of Gusfield's string algorithms textbook. It's got the best exposition of the suffix tree construction I've seen. The linearity is a surprising consequence of a number of optimizations of the high-level algorithm.

更多推荐

了解Ukkonen的算法后缀树

本文发布于:2023-11-29 19:30:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647406.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:后缀   算法   Ukkonen

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!