|
libgsjj
1
Deterministic finite automata learning library
|
The Heule and Verwer method. More...
#include <HeuleVerwerNonCNFMethod.h>


Public Member Functions | |
| HeuleVerwerNonCNFMethod ()=delete | |
| ~HeuleVerwerNonCNFMethod () | |
Public Member Functions inherited from gsjj::passive::NonCNF::SATNonCNFMethod | |
| SATNonCNFMethod ()=delete | |
| virtual | ~SATNonCNFMethod () |
| virtual bool | solve () override |
| Solves the SAT/SMT problem induced by the method. More... | |
| virtual std::unique_ptr< DFA< char > > | constructDFA () override |
| Constructs the DFA induced by the variables according to the method. More... | |
| virtual void | setStopTrigger (const std::chrono::seconds &timeLimit, std::atomic_bool &stopTrigger, const bool *stopPointer) override |
| Sets the stop trigger for this method. More... | |
Public Member Functions inherited from gsjj::passive::Method | |
| Method ()=delete | |
| virtual | ~Method () |
| bool | hasSolution () const |
| If solve() has been called and if there exists a solution, return True. More... | |
| unsigned int | numberOfStates () const |
| Gives the number of states of the prospected DFA (the n) More... | |
| double | timeToSolve () const |
| Gives the CPU time taken to solve the problem. More... | |
Static Public Member Functions | |
| static std::string | getFactoryName () |
Protected Member Functions | |
| virtual bool | createFormula (std::ostream &stream) override |
| Creates the boolean formula (must not be in CNF) and writes it in the stream. More... | |
| std::unique_ptr< DFA< char > > | toDFA (std::istream &stream) const override |
| Effectively creates the DFA. More... | |
| virtual std::string | getFileName () const override |
| Gives the name of the file in which the boolean formula must be written. More... | |
| HeuleVerwerNonCNFMethod (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) | |
Protected Member Functions inherited from gsjj::passive::NonCNF::SATNonCNFMethod | |
| bool | isSatisfiable () const |
| Reads the output of the SAT solver and checks if the formula was satisfiable or not. More... | |
| SATNonCNFMethod (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) | |
Protected Member Functions inherited from gsjj::passive::Method | |
| Method (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) | |
| Creates the method. More... | |
Additional Inherited Members | |
Protected Attributes inherited from gsjj::passive::NonCNF::SATNonCNFMethod | |
| const bool * | mustStop |
Protected Attributes inherited from gsjj::passive::Method | |
| const std::set< std::string > | m_Sp |
The set of words to accept . More... | |
| const std::set< std::string > | m_Sm |
The set of words to reject . More... | |
| const unsigned int | m_numberStates |
| The number of states in the DFA to construct. More... | |
| const std::set< std::string > | m_S |
In the code, . More... | |
| const std::set< std::string > | m_prefixes |
More... | |
| const std::set< char > | m_alphabet |
More... | |
| bool | m_triedSolve |
| bool | m_hasSolution |
| double | m_cpuTimeStart |
| double | m_cpuTimeEnd |
Static Protected Attributes inherited from gsjj::passive::RegisterInFactory< HeuleVerwerNonCNFMethod > | |
| static bool | s_registered |
| Useful to make sure the template is correctly used by the compiler. More... | |
The Heule and Verwer method.
Definition at line 18 of file HeuleVerwerNonCNFMethod.h.
|
delete |
| gsjj::passive::NonCNF::HeuleVerwerNonCNFMethod::~HeuleVerwerNonCNFMethod | ( | ) |
Definition at line 26 of file HeuleVerwerNonCNFMethod.cpp.
|
protected |
Definition at line 20 of file HeuleVerwerNonCNFMethod.cpp.
|
overrideprotectedvirtual |
Creates the boolean formula (must not be in CNF) and writes it in the stream.
| stream | The output stream in which to write |
Implements gsjj::passive::NonCNF::SATNonCNFMethod.
Definition at line 34 of file HeuleVerwerNonCNFMethod.cpp.
|
static |
Definition at line 30 of file HeuleVerwerNonCNFMethod.cpp.
|
overrideprotectedvirtual |
Gives the name of the file in which the boolean formula must be written.
Implements gsjj::passive::NonCNF::SATNonCNFMethod.
Definition at line 250 of file HeuleVerwerNonCNFMethod.cpp.
|
overrideprotectedvirtual |
Effectively creates the DFA.
If this function is called, the boolean formula is satisfiable. The output of the SAT solver is given in the stream
Implements gsjj::passive::NonCNF::SATNonCNFMethod.
Definition at line 175 of file HeuleVerwerNonCNFMethod.cpp.
1.8.13