网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Suffix tree
释义

Suffix tree

中文百科

后缀树

单词BANANA的后缀树。$为终止符。从根到叶的六条路径(方框里)对应六个后缀:A$、NA$、ANA$、NANA$、ANANA$和BANANA$。叶子中的数字表示出现的起点位置。后缀链用点线画出
Suffixbaum für abbabbab, Blätter sind mit den Startindizes (1-basiert) der entsprechenden 
Suffixe beschriftet, $ markiert das Ende eines Suffixes

后缀树(Suffix tree)是一种数据结构,能快速解决很多关于字符串的问题。后缀树的概念最早由Weiner于1973年提出,既而由McCreight在1976年和Ukkonen在1992年和1995年加以改进完善。

一个string S的后缀树是一个边(edge)被标记为字符串的树。因此每一个S的后缀都唯一对应一条从根节点到叶节点的路径。这样就形成了一个S的后缀的基数树(radix tree)。后缀树是前缀树(trie)里的一个特殊类型。

英语百科

Suffix tree 后缀树

Suffix tree for the text BANANA. Each substring is terminated with special character $. The six paths from the root to the leaves (shown as boxes) correspond to the six suffixes A$, NA$, ANA$, NANA$, ANANA$ and BANANA$. The numbers in the leaves give the start position of the corresponding suffix. Suffix links, drawn dashed, are used during construction.

In computer science, a suffix tree (also called PAT tree or, in an earlier form, position tree) is a compressed trie containing all the suffixes of the given text as their keys and positions in the text as their values. Suffix trees allow particularly fast implementations of many important string operations.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/23 6:18:27