Class mata::nfa::StatePost::MovesΒΆ
-
class Moves
Iterator over moves represented as
Moveinstances.It iterates over pairs (symbol, target) for the given
StatePost.Public Functions
-
Moves(const StatePost &state_post, StatePost::const_iterator symbol_post_it, StatePost::const_iterator symbol_post_end)
construct moves iterating over a range
symbol_post_it(including) tosymbol_post_end(excluding).- Parameters:
state_post β [in] State post to iterate over.
symbol_post_it β [in] First iterator over symbol posts to iterate over.
symbol_post_end β [in] End iterator over symbol posts (which functions as an sentinel; is not iterated over).
-
class const_iterator
Iterator over moves.
Public Functions
-
inline const_iterator()
Construct end iterator.
-
const_iterator(const StatePost &state_post)
Const all moves iterator.
-
const_iterator(const StatePost &state_post, StatePost::const_iterator symbol_post_it, StatePost::const_iterator symbol_post_it_end)
Construct iterator from
symbol_post_it(including) tosymbol_post_it_end(excluding).
-
inline const_iterator()
-
Moves(const StatePost &state_post, StatePost::const_iterator symbol_post_it, StatePost::const_iterator symbol_post_end)