StateIterator(State *state, Position *head, StateIterator *outer=nullptr)
Constructs a new StateIterator of the Position nodes of state, with an optional outer pointer for uns...
void query(ll::Dawg *dawg, const std::string &query_term, std::size_t max_distance)