|
libgsjj
1
Deterministic finite automata learning library
|
Implements the Biermann and Feldman method. More...
#include <BiermannMethod.h>


Public Member Functions | |
| BiermannMethod ()=delete | |
| ~BiermannMethod () | |
Public Member Functions inherited from gsjj::passive::SMT::SMTMethod | |
| SMTMethod ()=delete | |
| virtual | ~SMTMethod () |
| bool | solve () override |
| Solves the SAT/SMT problem induced by the method. More... | |
| 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 | |
| void | createVariables () override |
| Creates all needed variables for the method. More... | |
| CVC4::Expr | createConstraints () override |
| Creates an unique expression describing the constraints of this method. More... | |
| std::unique_ptr< DFA< char > > | toDFA () |
| Effectively creates the DFA from the values of the variables in the SMT solver (see SMTMethod::m_SMTEngine) More... | |
| BiermannMethod (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::SMT::SMTMethod | |
| SMTMethod (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::SMT::SMTMethod | |
| CVC4::ExprManager | m_exprManager |
| This must be used to create new variables, constants and expressions. More... | |
| CVC4::SmtEngine | m_SMTEngine |
| This computes acceptable values for the variables and allows to retrieve them. More... | |
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< BiermannMethod > | |
| static bool | s_registered |
| Useful to make sure the template is correctly used by the compiler. More... | |
Implements the Biermann and Feldman method.
This passive method relies on a SMT solver.
Definition at line 14 of file BiermannMethod.h.
|
delete |
| gsjj::passive::SMT::BiermannMethod::~BiermannMethod | ( | ) |
Definition at line 15 of file BiermannMethod.cpp.
|
protected |
Definition at line 9 of file BiermannMethod.cpp.
|
overrideprotectedvirtual |
Creates an unique expression describing the constraints of this method.
Implements gsjj::passive::SMT::SMTMethod.
Definition at line 32 of file BiermannMethod.cpp.
|
overrideprotectedvirtual |
Creates all needed variables for the method.
Implements gsjj::passive::SMT::SMTMethod.
Definition at line 23 of file BiermannMethod.cpp.
|
static |
Definition at line 19 of file BiermannMethod.cpp.
|
protectedvirtual |
Effectively creates the DFA from the values of the variables in the SMT solver (see SMTMethod::m_SMTEngine)
Implements gsjj::passive::SMT::SMTMethod.
Definition at line 82 of file BiermannMethod.cpp.
1.8.13