24 std::unique_ptr<DFA<char>>
toDFA(
const Minisat::vec<Minisat::lbool> &model)
const override;
26 UnaryCNFMethod(
const std::set<std::string> &SpSet,
const std::set<std::string> &SmSet,
const std::set<std::string> &SSet,
const std::set<std::string> &prefixesSet,
const std::set<char> &alphabetSet,
unsigned int n);
32 typedef std::map<std::pair<std::string, unsigned int>, Minisat::Var> states_map;
36 typedef states_map::value_type state;
39 states_map m_stateName;
The namespace of the library.
void createVariables() override
Creates all needed variables for the method.
Helps to register a method in the factory.
Base class for every method that relies on a SAT solver.
The Grinchtein, Leucker and Piterman's unary method.
std::unique_ptr< DFA< char > > toDFA(const Minisat::vec< Minisat::lbool > &model) const override
Effectively creates the DFA from the values of the variables in the given model.
static std::string getFactoryName()
void createClauses() override
Creates all needed clauses for the method.