Class
Pattern
Holds the needle and preprocessing data (depends on algorithm).
Pattern | |
Parameters
The online-algorithm to search with. Types: AhoCorasick, BndmAlgo, BomAlgo, Horspool, MultipleShiftAnd, MyersUkkonen, Score, SetHorspool, ShiftAnd, ShiftOr, WildShiftAnd Default: The result of DefaultPattern Remarks: Leave empty for index-based pattern matching (see Index). | |
The needle type. Types: String |
Specializations
Multiple exact string matching using Aho-Corasick. | |
Backward Nondeterministic Dawg Matching algorithm. Exact string matching using bit parallelism. | |
Backward Oracle Matching algorithm. Exact string matching using a factor oracle. | |
A dynamic programming algorithm for approximate string-matching with a user-definable scoring function. | |
Exact string matching using Horspool's algorithm (1980). | |
Multiple exact string matching using bit parallelism. The total size of the patterns should fit into a computer word. | |
Provides fast approximate searching of one string in another using Myer's fast bit-parallel algorithm with application of the Ukkonen-trick. | |
Multiple exact string matching using set horspool algorithm. | |
Exact string matching using bit parallelism. The Shift-And algorithm is applicable to search small patterns in texts using a small alphabet. | |
Exact string matching using bit parallelism. The Shift-Or algorithm is applicable to search small patterns in texts using a small alphabet. | |
Exact string matching with wildcards using bit parallelism. The Shift-And algorithm is applicable to search small patterns in texts using a small alphabet. |
Functions
Search for a Pattern in a Finder object. | |
Returns the needle of a Pattern object (not implemented for some online-algorithms). | |
Position of an iterator. | |
Sets the needle of a Pattern object and optionally induces preprocessing. |
Remarks
If TNeedle is a set of strings, then position(pattern) returns the index of the currently matching needle.
SeqAn - Sequence Analysis Library - www.seqan.de