libgsjj
1
Deterministic finite automata learning library
include
gsjj
passive
NonCNF
UnaryNonCNFMethod.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
gsjj/passive/NonCNF/SATNonCNFMethod.h
"
4
#include "
gsjj/passive/MethodFactory.h
"
5
6
namespace
gsjj
{
7
namespace
passive {
8
namespace
NonCNF {
14
class
UnaryNonCNFMethod
:
public
SATNonCNFMethod
,
public
RegisterInFactory
<UnaryNonCNFMethod> {
15
public
:
16
UnaryNonCNFMethod
() =
delete
;
17
~UnaryNonCNFMethod
();
18
19
static
std::string
getFactoryName
();
20
21
protected
:
22
virtual
bool
createFormula
(std::ostream &stream)
override
;
23
std::unique_ptr<DFA<char>>
toDFA
(std::istream &stream)
const override
;
24
virtual
std::string
getFileName
()
const override
;
25
26
UnaryNonCNFMethod
(
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);
27
};
28
}
29
}
30
}
gsjj::passive::NonCNF::UnaryNonCNFMethod::getFactoryName
static std::string getFactoryName()
Definition:
UnaryNonCNFMethod.cpp:20
gsjj
The namespace of the library.
Definition:
binary.h:11
gsjj::passive::NonCNF::UnaryNonCNFMethod::~UnaryNonCNFMethod
~UnaryNonCNFMethod()
Definition:
UnaryNonCNFMethod.cpp:16
MethodFactory.h
gsjj::passive::NonCNF::UnaryNonCNFMethod::getFileName
virtual std::string getFileName() const override
Gives the name of the file in which the boolean formula must be written.
Definition:
UnaryNonCNFMethod.cpp:165
gsjj::passive::NonCNF::UnaryNonCNFMethod
The Grinchtein, Leucker and Piterman's unary method.
Definition:
UnaryNonCNFMethod.h:14
gsjj::passive::NonCNF::UnaryNonCNFMethod::createFormula
virtual bool createFormula(std::ostream &stream) override
Creates the boolean formula (must not be in CNF) and writes it in the stream.
Definition:
UnaryNonCNFMethod.cpp:24
gsjj::passive::NonCNF::UnaryNonCNFMethod::UnaryNonCNFMethod
UnaryNonCNFMethod()=delete
gsjj::passive::RegisterInFactory
Helps to register a method in the factory.
Definition:
MethodFactory.h:84
gsjj::passive::NonCNF::SATNonCNFMethod
Base class for every method that relies on a non-CNF SAT solver.
Definition:
SATNonCNFMethod.h:26
gsjj::passive::NonCNF::UnaryNonCNFMethod::toDFA
std::unique_ptr< DFA< char > > toDFA(std::istream &stream) const override
Effectively creates the DFA.
Definition:
UnaryNonCNFMethod.cpp:105
SATNonCNFMethod.h
Generated by
1.8.13