This commit is contained in:
Ilusha 2024-03-07 12:31:26 +03:00 committed by Ilya Shurupov
parent 8f38095bec
commit dbd53719b0
8 changed files with 124 additions and 60 deletions

View file

@ -21,8 +21,8 @@ namespace tp {
ualni mAdvanceIdx;
};
typedef NFA<Alphabet, Item> NFA;
typedef typename NFA::Vertex State;
typedef FiniteStateAutomation<Alphabet, Item> NFA;
typedef typename NFA::State State;
public:
void compile(const Grammar& in, NFA& out) { nfa = &out; }