| Tag QGram Index Fibres Tag to select a specific fibre (e.g. table, object, ...) of a q-gram Index. Include Headers seqan/index.h Remarks These tags can be used to get Fibres of a q-gram Index. Tags
QGramText | The original text the index should be based on.
QGram_RawText | The concatenation of all text sequences. Remarks: QGramText and QGram_RawText fibres are equal by default. They differ if the index text is a set of strings. Then, raw text is the concatenation of all strings in this set.
QGramSA | The suffix array. Remarks: Contains all occurrences of q-grams, s.t. the occurrences of a single q-gram are stored in a contiguous block (q-gram bucket). q-grams exceeding the end of the text are ignored. The beginning of each bucket can be determined by the q-gram directory (QGramDir, see below). It corresponds to a suffix array which is sorted by the first q-gram. Fibre returns a String over the alphabet of the SAValue of TIndex.
QGramDir | The directory/hash table. Remarks: The directory contains for every possible q-gram hash value the start index of the q-gram bucket. A q-gram bucket is a contiguous interval in the suffix array (QGramSA, see above). Each suffix in this interval begins with the same q-gram. The end index is the start index of the next bucket. Fibre returns a String over the alphabet of a size type.
QGramBucketMap | Maps q-gram hashes to buckets. This fibre is used by the OpenAddressing index and stores all parameters of the open addressing hash function and hash value occupancy in the QGramDir fibre. In contrast to OpenAddressing, IndexQGram uses a trivial 1-to-1 mapping from q-gram hash values to buckets. For that index the fibre is of type Nothing.
QGramCounts | The counts array. Remarks: Contains the numbers of occurrences per sequence of each q-gram, s.t. the numbers of the same q-gram are stored in a contiguous block (q-gram count bucket). A bucket contains entries (seqNo,count) of sequences with at least one q-gram occurrence. q-grams exceeding the end of the text are ignored. The beginning of each count bucket can be determined by the q-gram counts directory (QGramCountsDir, see below). Fibre returns a String over the alphabet of the SAValue of TIndex.
QGramCountsDir | The counts directory. Remarks: The counts directory contains for every possible q-gram hash value the start index of the q-gram count bucket. A q-gram count bucket is a contiguous interval in the counts array (QGramCounts, see above). The end index is the start index of the next bucket. Fibre returns a String over the alphabet of a size type.
QGramShape | The shape the index is based on. Remarks: The q-gram index needs an underlying Shape. This shape can be gapped or ungapped. The number of '1's (relevant positions) in the shape determines q and the size of the directory table. Dynamic shapes (SimpleShape, GenericShape, ...) must be initialized before the index can be used.
QGramSADir | The union of suffix array and directory. Remarks: In most applications a q-gram index consisting of both of these table is required. To efficiently create them at once use this tag for indexRequire or indexCreate.
See Also getFibre, Fibre, IndexQGram SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2012/03/14 16:34:52