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

Page built @2011/02/08 21:37:06