12#ifndef CPROVER_UTIL_EDIT_DISTANCE_H
13#define CPROVER_UTIL_EDIT_DISTANCE_H
33 const std::string &
string,
36 bool matches(
const std::string &
string)
const;
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Simple automaton that can detect whether a string can be transformed into another with a limited numb...
std::optional< std::size_t > get_edit_distance(const std::string &string) const
void dump_automaton_dot_to(std::ostream &out)
bool matches(const std::string &string) const
std::vector< state_labelt > final_states
void dump_automaton_dot_to(std::ostream &out) const
Write the automaton structure to out in graphviz dot format.