Constructor methods for an internal SuffixTree object.
为内部SuffixTree对象的构造方法。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These methods create an internal suffix tree in C code and associated data structures. These return an object of class SuffixTree-class which is a reference to the internal C data.
这些方法创建一个C代码和相关的数据结构内部的后缀树。这些返回的对象类SuffixTree-class这是一个内部的C数据的参考。
方法----------Methods----------
There are two methods at present. One works from a previously created StringSet-class, and the other takes a collection of strings and constructs the StringSet-class and then constructs the SuffixTree-class.
目前有两种方法。从先前创建的StringSet-class,和其他作品需要一个字符串的集合,构建了StringSet-class然后构造SuffixTree-class。
x = "character" if given a character vector, this constructs a StringSet from its string elements and then creates a
X =“字符”,如果给定的字符向量,这个构造一个字符串元素StringSet,然后创建一个
x = "StringSet" creates a SuffixTree directly from this
=“StringSet”创建一个直接从SuffixTree