Function
parseString
Parses a string one character at a time and moves accordingly in the automaton.
Parameters
An automaton or a word graph. | |
A vertex descriptor. Types: VertexDescriptor | |
An iterator to the beginning of the string. (Input and Output) Types: Iterator | |
An iterator to the end of the string. Types: Iterator | |
A string. Types: String |
Return Values
The vertex descriptor of the state that was reached after parsing.
Types: VertexDescriptor
Iterator to the first character that could not be parsed,
or |
Remarks
The parsing stops before getSuccessor reaches the nil state,
or if the the complete sequences is read.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de